Cannot locate my.cnf
Hello
I need to do some modifications of Mysql's configurations but I cannot locate my.cnf file.
Do you know how to find it ?
My server : CentOs 7
Thank you
-
Hello, By default you"ll find MySQL"s configuration file at: /etc/my.cnf 0 -
The file is not there. vi /etc/my.cnf : The system asks me to create a file with this name... 0 -
Hi, Please check MySQL"s configuration file at /etc/mysql/my.cnf If not found then run below command to find my.cnf file whereis my.cnf
or find / -name my.cnf0 -
Hello, Could you verify if you are logged in via SSH as the "root" user? You can only edit the MySQL configuration with root access to the system. Thank you. 0
Please sign in to leave a comment.
Comments
4 comments