It is easy to enable MySQL Automatic startup.

Source: Internet
Author: User

The following articles mainly solve the problem that MySQL cannot be automatically started after installation. To enable MySQL to automatically start MySQL, we install MySQ in a REDHAT ES4 UPDATE3. The following describes the specific content, I hope you will be helpful in your future studies.

MySQL automatic start:

I have a REDHAT ES4 UPDATE3

MySQL is installed (the best combination with PHP). It is packed in TAR and can be manually installed (the best combination of MySQL and PHP) d_safe -- user = MySQL (the best combination with PHP) & can be started normally), But I add it to the service as prompted (use service MySQL (the best combination with PHP) start), but the startup fails. I cannot find the error log.

In/var/log/MySQL (the best combination with PHP), what information is recorded in d. log is successful? What's the problem with experts!

The script should be lost to init. rd followed by chkconfig -- level xxx MySQL (the best combination with PHP) d on

I don't know what your MySQL (best combination with PHP) version is. I installed 5.x

Cp $ path_of_MySQL (the best combination with PHP)/share/MySQL (the best combination with PHP ). server/etc/rc. d/init. d/MySQL (best combination with PHP) d

Modify basedir, datadir, and pid_file to the related path of your MySQL (best combination with PHP.

Chkconfig -- level 2345 MySQL (the best combination with PHP) d on...

The above content is an introduction to MySQL Automatic startup. I hope you will get some benefits.

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.