Environment: when mysql is not installed in centos6.532 bits, my already exists in the etc directory. what is cnf and its role. after mysql is installed, run the following code in mysql: {code ...} is it true that mysql's my ....
Environment: centos 6.5 32-bit
When mysql is not installed, my. cnf already exists in the/etc/directory)
After installing mysql, follow the online tutorial to execute the following code for mysql:
cp support-files/my-medium.cnf /etc/my.cnf
The operation does not take mysql's my. cnf overwrites my in the system. cnf. why does this happen? it's still a mysql prepared by linux. what about cnf. if you do not set my. where can the cnf file be stored in/etc. does not affect the use of mysql
Reply content:
Environment: centos 6.5 32-bit
When mysql is not installed, my. cnf already exists in the/etc/directory)
After installing mysql, follow the online tutorial to execute the following code for mysql:
cp support-files/my-medium.cnf /etc/my.cnf
The operation does not take mysql's my. cnf overwrites my in the system. cnf. why does this happen? it's still a mysql prepared by linux. what about cnf. if you do not set my. where can the cnf file be stored in/etc. does not affect the use of mysql
Have you selected the Mysql installation component when installing Centos?
Remove mysql database installed in yum
yum remove mysql -y
My. cnf is the configuration file loaded at mysql startup. The path strength of my. cnf can be configured when mysql is installed ./
-DSYSCONFDIR =/etc # my. cnf path
You can customize the value of-DSYSCONFDIR =/etc in the configuration.