Mysql Installation Summary In F7

Source: Internet
Author: User

It took me a lot of effort to run mysql in these two systems

To sum up

After running mysqld_safe, check the logs in/var/log/mysql. log.

If there is no specific error information in the log

You can modify the log records in the my. cnf file and add the # sign before log_err =... Or log_bin = ....

Run the command and check the log file carefully.

In mysql that is not installed according to the system, check whether there is a mysql account. If this account is not added

Useradd mysql

For other errors, you must first modify the mysql installation path and database permissions, and set the maximum permission to 0666.

If you have defined the my. cnf file, and the configuration of my. cnf file is ignored in the log, you need to change the attribute of the my. cnf file to 0644.

This is mainly about permissions.

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.