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;

¿Fue útil la respuesta? 0 Los Usuarios han Encontrado Esto Útil (0 Votos)