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.

restart mysql

Discussion in 'Database Discussions' started by kwik, Mar 25, 2005.

  1. kwik

    kwik Registered

    Joined:
    Jul 28, 2004
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    hi there

    i got a problem with mysql when i want to restart it, it tell me :

    DBI connect('mysql:localhost','root',...) failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) at /scripts/restartsrv_mysql line 74 mysql has failed, please contact the sysadmin (result was "Warning, no valid mysql.sock file found.mysql has failed").

    i got another problem but i think it is the same:

    when i went to whm and clic the phpmyadmin link it tell me that access is denied

    thxs.
     
  2. netlook

    netlook Well-Known Member
    PartnerNOC

    Joined:
    Mar 25, 2004
    Messages:
    335
    Likes Received:
    0
    Trophy Points:
    16
    SSH into server and try:

    killall -TERM mysql
    /scripts/restartsrv mysql

    This should help
     
  3. rsandersiv

    rsandersiv Registered

    Joined:
    Mar 26, 2005
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    I'm having the same problem, and the suggestion did not help.

    Any known issues with cPanel on FC2? A quick search didnt turn up much that pertained to mysql.
     
  4. Kerstin

    Kerstin Well-Known Member

    Joined:
    Apr 9, 2005
    Messages:
    136
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Berlin
    Im having proplem resolving hostname
    '/var/lib/mysql/mysql.sock' on
    linux machine.

    connect('mysql:localhost','root',...) to the name database. :eek: :eek: :eek:
    No entry in the namequerry.

    :(
     
Loading...

Share This Page