show MySQL databases

MySQL login

$ mysql --user=<username> --password=<password>

Show Existing Databases:

mysql> show databases;

Response:


mysql> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| mysql              |
| performance_schema |
| wordpress          |
+--------------------+
4 rows in set (0.00 sec)

 

Leave a Reply

Your email address will not be published. Required fields are marked *