mysql command
snippet in sql

mysql list databases

user7486

SHOW DATABASES;

mysql login console

user9602

mysql -u USERNAME -p

quit mysql

user3646

To exit from mysql type quit at the mysql> command-prompt

login to database mysql terminal

user7293

use DBNAME;

mysql command

user9886

mysqladmin -u root -p shutdown
mysqld –uroot –p Or mysql.exe -uroot -p