Find the answer to your Linux question:
Results 1 to 6 of 6
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Mysql cannot connect as root

    Cannot connect to local MYSQL server through socket '/tmp/mysql.sock'

    i have tried this in shell

    shell >> mysql -h localhost -u root -p
    password = ****************
    Error 2002: "Cannot connect to local MYSQL server through socket '/tmp/mysql.sock'"

  2. #2
    Linux Guru
    Join Date
    Apr 2003
    London, UK
    is mysqld running?

    check with "ps aux | grep mysqld"


  3. #3
    yes it is running

  4. $spacer_open
  5. #4
    Linux Guru
    Join Date
    Mar 2003
    I don't know a lot about SQL, so this may be a lame suggestion, but maybe your firewall blocking it?

    Registered Linux user #346571
    "All The Dude ever wanted was his rug back" - The Dude

  6. #5
    I actually got it working....

    Did a system restart

  7. #6
    I finnally got mysql in the services list. I go to start up mysql and this is the error that I recieve.

    mysqld dead but subsys locked

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts