Do a data backup today after the operation, found that the database boot does not start, check the error log prompt:
Starting MySQL ...... error! The server quit without updating PID file (/data/mysql/mysql.master.com.pid).
The first idea is to view the log file (beginning with the/ETC/MY.CNF definition):
Found such a sentence:
/etc/mysql/bin/mysqld:file './mysql-bin.index ' not Found (errcode:13)
Check that the prompt should be the directory permission has a problem and then execute:
Chown Mysql.mysql-r/data
And then reboot to find the success.
650) this.width=650, "style=" Border-bottom: #ddd 1px solid;border-left: #ddd 1px solid;background:url ("/e/u261/lang/ Zh-cn/images/localimage.png ") no-repeat center;border-top: #ddd 1px solid;border-right: #ddd 1px solid;" Src= "/e/u261/ Themes/default/images/spacer.gif "alt=" spacer.gif "/> 650" this.width=650; "title=" QQ picture 20140929174733.jpg "Src=" Http://s3.51cto.com/wyfs02/M02/4B/4A/wKiom1QpKuDg6RURAABmeZU4yHc084.jpg "alt=" Wkiom1qpkudg6ruraabmezu4yhc084.jpg "/>
There is also a flushing situation when deleting the Myslq-bin.index file, specifically what the operation has forgotten. If you can't, try it.
About MySQL Startup error problem, Memo