I am new to using MySQL on a Mac. I am trying to show all the default databases but nothing is showing up when I use the command "show databases".
I have tried uppercase and lowercase. As well as using a semicolon and without it.
-> show databases ->
SHOW DATABASES; ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SHOW DATABASES' at line 2
I am trying to see the default databases in MySQL before proceeding
show databases SHOW DATABASES;so of course that's not going to work. There are very few commands that will work without a semi-colon; without it, it thinks you're going to continue the command on the next line.