Community Forums
Connect with us on LinkedIn
Closed Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Mar 2006
    Posts
    5

    Angry Help me please,mysql sock error

    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. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Please don't cross-post.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

Similar Threads & Tags
Similar threads

  1. MySQL fails - /tmp/mysql.sock error
    By mudduck in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 11-16-2007, 10:28 AM
  2. Can't get mysql to work - Getting mysql.sock error (but a unique one)
    By noimad1 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-21-2006, 02:04 AM
  3. MySQL Sock Error - Existing threads no help
    By dempsey in forum cPanel and WHM Discussions
    Replies: 12
    Last Post: 04-29-2006, 12:15 PM
  4. MySQL Sock Error
    By Mini in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 02-11-2006, 04:36 AM
  5. mysql.sock error, help!
    By n000b in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 06-17-2005, 12:22 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube