The configuration file cannot be found using the RPM installation Mysql5.5 my.cnf

Source: Internet
Author: User

Workaround:

Why not have this file and MySQL can also start and use normal, there are two statements:


1, MY.CNF is only a mysql startup parameter file, can not have it, then MySQL will use the built-in default parameters to start;


2, MySQL automatically use the/usr/share/mysql/my-medium.cnf file at startup, this argument is limited to the RPM package installed MySQL.


The workaround is simple, just copy the/usr/share/mysql/my-medium.cnf file to the/etc directory and rename it to MY.CNF:


Cp/usr/share/mysql/my-medium.cnf/etc/my.cnf


This article is from the "Game blog" blog, be sure to keep this source http://xk3164.blog.51cto.com/5984961/1548236

The configuration file cannot be found using the RPM installation Mysql5.5 my.cnf

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.