Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    May 2003
    Posts
    32

    Default Eximstats / MySQL problem - access denied

    After upgrading the MySQL last time via WHM, I changed the MySQL root password from Shell. Now when I restart Cpanel, I got the following error:

    -------------
    Starting eximstats: DBI connect('eximstats:localhost','eximstats',...) failed: Access denied for user: 'eximstats@localhost' (Using password: YES) at /usr/local/cpanel/bin/eximstats line 256
    Can't Connect at /usr/local/cpanel/bin/eximstats line 259.
    -------------

    I reset the root password via WHM again. But still got the same error message. Can someone suggest how to fix it?

    Thanks.

    cPanel.net Support Ticket Number:

  2. #2
    Member
    Join Date
    Jul 2002
    Location
    Atlanta, GA
    Posts
    646

    Default

    We're seeing a similar error:

    Sep 30 10:45:23 host43 starteximstats: DBI connect('eximstats:localhost','eximstats'
    ,...) failed: Can't connect to local MySQL server through socket '/var/lib/mysql
    /mysql.sock' (2) at /usr/local/cpanel/bin/eximstats line 256
    Sep 30 10:45:23 host43 starteximstats: Can't Connect at /usr/local/cpanel/bin/eximst
    ats line 259.
    Sep 30 10:45:24 host43 cpanel: starteximstats startup failed

    cPanel.net Support Ticket Number:

  3. #3
    Member
    Join Date
    Jun 2003
    Location
    New York
    Posts
    219

    Default

    I found this when searching a while back when MySQL was down. So if it works for you lets bless the soul that came up with this.

    login via ssh

    run the commands as follows:

    killall mysqld
    safe_mysqld --skip-grant-tables &
    /usr/local/cpanel/startup

    Then login into WHM reset the MySQL root
    password.

    go back to ssh...

    killall mysqld
    /etc/rc.d/init.d/mysql start

    Hope this resolves your issue with MySQL. Doing it this way has always got it back up and running for me.

    cPanel.net Support Ticket Number:

Similar Threads & Tags
Similar threads

  1. Mysql 5 access denied problems
    By ricoche in forum Database Discussions
    Replies: 6
    Last Post: 08-23-2010, 04:56 AM
  2. help plaese : mysql problem , all user have access denied
    By mhm in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-22-2004, 08:08 PM
  3. Access Denied in MySQL
    By caca990099 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-23-2004, 02:55 PM
  4. User MySql access denied
    By paralard in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 08-18-2003, 07:40 PM
  5. Users denied access to MySQL
    By Curious Too in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 02-01-2002, 07:49 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube