Home  >  Article  >  Database  >  RPM方式安装MYSQL5.5,改变数据目录出现错误解决_MySQL

RPM方式安装MYSQL5.5,改变数据目录出现错误解决_MySQL

WBOY
WBOYOriginal
2016-06-01 13:30:371097browse

bitsCN.com


RPM方式安装MYSQL5.5,改变数据目录出现错误解决

 

如果出现错误:

 

service mysql start

Starting MySQL... ERROR! The

server quit without updating PID file

(/opt/data2013/servers/mysqldata/mysql/localhost.localdomain.pid).

 

修改 my.cnf

 

注意[mysql]和[mysqld]区别,由于服务名叫mysql 所以,对应my.cnf的节也要对应。

 

由于安装后MYSQL服务都是叫mysql,而不是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