Not for OP.
I usually use Adminer instead of phpMyAdmin.
Adminer (formerly phpMinAdmin) is a full-featured database management tool written in PHP. Conversely to phpMyAdmin, it consist of a single file ready to deploy to the target server. Adminer is available for MySQL, MariaDB, PostgreSQL, SQLite, MS SQL, Oracle, Elasticsearch, MongoDB and others via plugin
IMHO it depends on the theme you use.
try well maintained themes and you will not have that kind of problem. Like gruvbox light.
https://github.com/mbadolato/iTerm2-Color-Schemes/
has lot of color themes. If your terminal of choice can use ANSI colors you can use tinted-shell.