Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Nov 2004
    Posts
    8

    Angry Table 'mysql.users' doesn't exist please help me

    Hi,

    I have a problem :


    In WHM , i made :

    Reset Local MySQL Root Password, and mysql restart but :

    /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! mysql has failed, please contact the sysadmin (result was "Warning, no valid mysql.sock file found.mysql has failed").

    In error log file :

    060624 21:01:27 mysqld started
    060624 21:01:27 InnoDB: Started; log sequence number 0 22920435
    060624 21:01:27 [ERROR] /usr/sbin/mysqld: Can't open file: 'user.MYI' (errno: 145)
    060624 21:01:27 [ERROR] /usr/sbin/mysqld: Can't open file: 'user.MYI' (errno: 145)
    060624 21:01:27 [ERROR] Fatal error: Can't open and lock privilege tables: Can't open file: 'user.MYI' (errno: 145)
    060624 21:01:27 mysqld ended


    I trying

    mysql mysql -e "update users set password=PASSWORD('my_password') where user='root';"

    but i have

    ERROR 1146 (42S02) at line 1: Table 'mysql.users' doesn't exist


    Anyone help me please

    Thank you
    Last edited by Alain Leonard; 06-24-2006 at 02:56 PM.

  2. #2
    Member
    Join Date
    Nov 2004
    Posts
    8

    Default

    Hi,

    I solved the problem by :

    WHM > SQL Services > Repair a Database > mysql

Similar Threads & Tags
Similar threads

  1. Errors in MySQL Log regarding dbs/users that don't exist
    By sneader in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 06-12-2009, 09:21 AM
  2. Explain this - User gets another users mysql table in shop
    By jeroman8 in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 02-23-2006, 03:48 PM
  3. /var/lib/mysql/mysql.sock doesn't exist
    By moogle in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-10-2003, 06:14 PM
  4. Table 'username_xmb4.xmb_settings' doesn't exist
    By Carl Ramirez in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 08-06-2003, 03:24 PM
  5. iptables: Table does not exist
    By Nadeem in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-11-2003, 09:12 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube