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