15 July 2013
Want to check the databases you have created using the MySQL Command Line Client? Use mysql command to connect to mysql server and list available databases.
Source code viewer
- # Use mysql command, -u following username and -p to prompt password.
- mysql -u username -p
- # MySQL query to list all MySQL databases.
- show databases;
- # Press Ctrl + C to exit, as usual.Programming Language: Bash