mysql启动,关闭,重启
1)启动:
|
1
|
sudo /etc/init.d/mysql start |
2)停止:
|
1
|
sudo /etc/init.d/mysql stop |
3)重启:
|
1
|
sudo /etc/init.d/mysql restart |
4)查看日志:
|
1
2
3
|
cat /var/log/mysql.errcat /var/log/mysql/error.log |
浙公网安备 33010602011771号