linux下MySQL的启动

来源:互联网 发布:阿沁的淘宝店铺叫什么 编辑:程序博客网 时间:2024/06/08 10:30

启动与停止  

1、启动  

MySQL安装完成后启动文件mysql在/etc/init.d目录下,在需要启动时运行下面命令即可。  

[root@test1 init.d]# /etc/init.d/mysqld start 

或者:service mysqld start

2、停止 

service mysqld stop

原创粉丝点击