Skip to main content

Cannot locate my.cnf

Comments

4 comments

  • User Avatar
    SysSachin
    Hello, By default you"ll find MySQL"s configuration file at: /etc/my.cnf
    0
  • User Avatar
    RomainB
    The file is not there. vi /etc/my.cnf : The system asks me to create a file with this name...
    0
  • User Avatar
    SysSachin
    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.cnf
    0
  • User Avatar
    cPanelMichael
    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.