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;

Ha estat útil la resposta? 0 Els usuaris han Trobat Això Útil (0 Vots)