command mysql code example Example: mysql command mysqladmin -u root -p shutdown mysqld –uroot –p Or mysql.exe -uroot -p