MySQL启动关闭添加到 /etc/init.d/mysqld

 
cp /data/mysql/support-files/mysql.server /etc/init.d/mysqld
 
 
 
然后就可以使用此命令启动/关闭 mysql:
/etc/init.d/mysqld start
/etc/init.d/mysqld stop
 

转载于:https://www.cnblogs.com/liang545621/p/7616859.html

你可能感兴趣的:(MySQL启动关闭添加到 /etc/init.d/mysqld)