database shown in phpMyAdmin not listed by mysql cli
-
A database shown in phpMyAdmin and Mysql Workbench doesn’t show when invoking SHOW DATABASES running mysql from the Mac terminal.
My end goal is to use the WordPress command line tool on my local MAMP WordPress installation.
I have MAMP installed and running on my Mac. WordPress is installed and working fine. PhpMyAdmin sees the database ‘wordpress’ just fine, and behaves as I’d expect it to.
Using Mysql Workbench, I was able to list all the databases properly.
MAMP, phpMA, and MySQL are all using port 3306 (I changed the MAMP defaults, and have confirmed in the config files etc. for everything.)
Running mysql (logged in as root, with password) the command SHOW DATABASES lists the 4 default databases but not the ‘wordpress’ database.
I do not know how to confirm that the commands I’m running in Mac’s terminal are using port 3306, or even confirm that I’m not accidentally using some other instance of MySQL.
- This topic was modified 2 years ago by . Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic
The page I need help with: [log in to see the link]
- The topic ‘database shown in phpMyAdmin not listed by mysql cli’ is closed to new replies.