basic sql commands in mysql 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
SHOW DATABASES;
mysqladmin -u root -p shutdown
mysqld –uroot –p Or mysql.exe -uroot -p