About MySQL Startup error problem, Memo

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.