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.

Help me please,mysql sock error

Discussion in 'General Discussion' started by esthost, Mar 7, 2006.

Thread Status:
Not open for further replies.
  1. esthost

    esthost Member

    Joined:
    Mar 3, 2006
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Hi!
    I want to start or restart mysql!
    I see this error!

    Restarting MySQL

    Main >> Restart Services >> SQL Server (MySQL)
    Attempting to restart mysql
    Waiting for mysql to restart.... . . . . . . . . . . finished.

    mysql status

    /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").

    /var/lib/mysql/mysql.sock not exist

    Please help me!
    see this to i click
    -
    Setup Remote MySQL server
    -
    i click ok and i see this
    -"Using Local mySQL Server
    -The local mysql server will now be used. You should now reset your mysql root password on this server if it was not the same as the remote server you were previously using!
    "
    I click a "reset your mysql root password"
    clicked change password "blank"
    and i see this error!

    -----------------

    Waiting for mysql to restart...../usr/local/libexec/mysqld: ready for connections.
    Version: '4.1.16' socket: '/var/lib/mysql/mysql.sock' port: 3306 Source distribution
    Done
    Changing Password....pass is blank
    Done
    Reloading Mysqld...
    Done
    Waiting for mysql to terminate.....
    Restarting MySQL ....Done
    The MySQL root password has been changed.
    Password changed for root to
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Please don't cross-post.
     
Loading...
Thread Status:
Not open for further replies.

Share This Page