First, you have to login into the MySQL server through this command line:

# mysql -u root -p *****

where,
-u option is for username and -p option is for the password.



Now, you can open MySQL prompt:

# mysql>

To list all databases available:

# SHOW DATABASES;

Hjälpte svaret dig? 0 användare blev hjälpta av detta svar (0 Antal röster)