I am running XAMMP & I installed MYSQL through Homebrew with brew install mysql
However when I run show databases;in the terminal after logging in with mysql -u root
I get this
+--------------------+
| Database |
+--------------------+
| information_schema |
| mysql |
| new_cms_db |
| performance_schema |
| sys |
+--------------------+
5 rows in set (0.00 sec)
but in phpmyadmin when I command show databases;
I have browsed every forum and stack overflow question and I cannot find anything that resolves this.

