Skip to main content

Mysql Service Start fail

Comments

3 comments

  • cPRex Jurassic Moderator
    Hey there! Do you see anything helpful in the MySQL error log? That should show if there is a bad variable or configuration file keeping the service from starting. You can run this command to get the location of your MySQL error log file: grep log-error /etc/my.cnf
    0
  • LFofficial
    Hey there! Do you see anything helpful in the MySQL error log? That should show if there is a bad variable or configuration file keeping the service from starting. You can run this command to get the location of your MySQL error log file: grep log-error /etc/my.cnf

    Hello thank you, I am running root yet it shows i dont have permisison,
    0
  • cPRex Jurassic Moderator
    That could be a clue. What does this command show: ls -lah /etc/my.cnf
    Ideally, we'd like to see 644 permissions on that file and root ownership, such as this example: -rw-r--r-- 1 root root 1.2K Oct 11 05:35 /etc/my.cnf
    0

Please sign in to leave a comment.