mysql commands code example
Example 1: mysql list databases
SHOW DATABASES;
Example 2: mysql command
mysqladmin -u root -p shutdown
mysqld –uroot –p Or mysql.exe -uroot -p
Example 3: how to open database in mysql
use DBNAME;
SHOW DATABASES;
mysqladmin -u root -p shutdown
mysqld –uroot –p Or mysql.exe -uroot -p
use DBNAME;