Bug 83572 - mysql.sock, Can't connect to local MySQL server through socket
mysql.sock, Can't connect to local MySQL server through socket
Status: CLOSED WORKSFORME
Product: Red Hat Linux
Classification: Retired
Component: mysql (Show other bugs)
7.3
i386 Linux
high Severity medium
: ---
: ---
Assigned To: Patrick Macdonald
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-02-05 13:34 EST by Anders Aleborg
Modified: 2007-03-27 00:00 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-02-05 15:20:26 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Anders Aleborg 2003-02-05 13:34:44 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)

Description of problem:
after upgrading to all the latest patches for RH7.3 mysql.sock can't be found 
at the system.

ERROR 2002: Can't connect to local MySQL server through 
socket '/var/lib/mysql/mysql.sock' (2)

have searched for it but it can't be found anywhere so now MySQL can't be 
started!

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. mysql -u root
2. mysql start
3.
    

Actual Results:  I get:
ERROR 2002: Can't connect to local MySQL server through 
socket '/var/lib/mysql/mysql.sock' (2)


Expected Results:  1. Ishould be able to login to mysql
2. MySQL should start

Additional info:
Comment 1 Patrick Macdonald 2003-02-05 14:34:18 EST
It looks as though your mysql server is not running. Restart mysqld
using "service mysql restart" and you should be able to connect.  Let
me know if this does not solve your problem.
Comment 2 Anders Aleborg 2003-02-05 15:20:26 EST
Ahh, now it works using "service mysqld restart" !

Thanks!

Note You need to log in before you can comment on or make changes to this bug.