标签:
1,mysql 服务启动:
/etc/init.d/mysqld start
2,mysql 停止服务:
mysqladmin -r root -p123456 shutdown
3,查看mysql启动状态:
/etc/init.d/mysqld status
4,自动启动
1)察看mysql是否在自动启动列表中
[root@test1 local]# /sbin/chkconfig –list
2)把MySQL添加到你系统的启动服务组里面去
[root@test1 local]# /sbin/chkconfig – add mysql
3)把MySQL从启动服务组里面删除。
[root@test1 local]# /sbin/chkconfig – del mysql
标签:
原文地址:http://www.cnblogs.com/8899man/p/5060274.html