The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

mysql problem

Discussion in 'General Discussion' started by maziar, Dec 20, 2014.

  1. maziar

    maziar Registered

    Joined:
    Dec 20, 2014
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    hi every one please help me

    when i try to restart mysql on panel i get this error log :

    Code:
    
    Waiting for “mysql” to restart ……………………………………………………………………………………………………………………waiting for “mysql” to initialize …………………………………finished.
    
    The service “mysql” failed to start with the message: mysql is not running
    /usr/bin/mysqladmin: connect to server at 'localhost' failed
    error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)'
    Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists!
    
    Startup Log:
         Starting MySQL. ERROR! The server quit without updating PID file (/var/lib/mysql/server_ip_address.pid).
    
    Log Messages:
         141220 13:46:30 mysqld_safe mysqld from pid file /var/lib/mysql/server_ip_address.pid ended
         /usr/sbin/mysqld: Can't find file: './mysql/plugin.frm' (errno: 13)
         141220 13:46:30 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
         141220 13:44:27 mysqld_safe mysqld from pid file /var/lib/mysql/server_ip_address.pid ended
         /usr/sbin/mysqld: Can't find file: './mysql/plugin.frm' (errno: 13)
         141220 13:44:27 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
         141220 13:40:30 mysqld_safe mysqld from pid file /var/lib/mysql/server_ip_address.pid ended
         /usr/sbin/mysqld: Can't find file: './mysql/plugin.frm' (errno: 13)
         141220 13:40:29 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
         141220 13:39:54 mysqld_safe mysqld from pid file /var/lib/mysql/server_ip_address.pid ended
         /usr/sbin/mysqld: Can't find file: './mysql/plugin.frm' (errno: 13)
         141220 13:39:54 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
         141220 13:39:31 mysqld_safe mysqld from pid file /var/lib/mysql/server_ip_address.pid ended
         /usr/sbin/mysqld: Can't find file: './mysql/plugin.frm' (errno: 13)
         141220 13:39:31 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
         141220 13:39:17 mysqld_safe mysqld from pid file /var/lib/mysql/server_ip_address.pid ended
         /usr/sbin/mysqld: Can't find file: './mysql/plugin.frm' (errno: 13)
         141220 13:39:17 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
         141220 13:35:06 mysqld_safe mysqld from pid file /var/lib/mysql/server_ip_address.pid ended
         /usr/sbin/mysqld: Can't find file: './mysql/plugin.frm' (errno: 13)
         141220 13:35:05 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
         141220 13:33:43 mysqld_safe mysqld from pid file /var/lib/mysql/server_ip_address.pid ended
    
    mysql has failed. Please contact your system administrator if the service does not automagically recover.
    
    
     
  2. cPanelPeter

    cPanelPeter Technical Analyst III
    Staff Member

    Joined:
    Sep 23, 2013
    Messages:
    569
    Likes Received:
    15
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    This indicates a permissions error. What permissions are on the /var/lib/mysql directory and files/directories within?
     
Loading...

Share This Page