Home  >  Article  >  Database  >  Suse Linux 10 MySql随机启动_MySQL

Suse Linux 10 MySql随机启动_MySQL

WBOY
WBOYOriginal
2016-06-01 13:36:181100browse

bitsCN.com

Suse Linux 10 MySql随机启动

 

SUSE 10系统,系统已经安装过mysql,但是路径不是在/usr/local

下面,执行service mysql start 能正常启动  www.bitsCN.com  

 

在/etc/init.d/下面有mysql文件

 

当时执行的命令是下面即得到系统自动启动mysql

 

cd /etc/init.d

 

chmod 755 /etc/init.d/mysql

 

chkconfig --add mysql

 

这样都可以了。

 

然后可以启动下,service mysql start

 

重新启动系统:reboot

 

启动过后可以查询下mysql状态 :chkconfig --list|grep mysql

 

bitsCN.com
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn