Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

phpMyAdmin - Error

Discussion in 'Database Discussion' started by rohanb, Aug 24, 2008.

  1. rohanb

    rohanb Registered

    Joined:
    Aug 24, 2008
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    51
    When i click on phpMyAdmin link, i get following error message:

    phpMyAdmin - Error
    #2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)

    Can anybody help me. Its very urgent.
     
  2. amal_ck

    amal_ck Member

    Joined:
    Apr 9, 2007
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    151
    Please open file /usr/local/cpanel/base/3rdparty/phpMyAdmin/config.inc.php

    and then search for
    $cfg['Servers'][$i]['socket'] = '';
    change to
    $cfg['Servers'][$i]['socket'] = '/var/lib/mysql/mysql.sock';

    next line
    $cfg['Servers'][$i]['connect_type'] = 'tcp';

    change to

    $cfg['Servers'][$i]['connect_type'] = 'socket';

    Hope this will fix the issue
     
  3. subin_hutton

    subin_hutton Member

    Joined:
    Jul 25, 2008
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    51
    Location:
    India
    Check that mysqld service is running or not.

    If its running put a symlink of mysql.sock file to /tmp. This will fix your issue.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. ashokpomnar

    ashokpomnar Active Member

    Joined:
    Sep 30, 2006
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    151
    Or please login in WHM and restart mysql services, PHPMyAdmin should be work :D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice