Bug 83572 - mysql.sock, Can't connect to local MySQL server through socket
Summary: mysql.sock, Can't connect to local MySQL server through socket
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: mysql
Version: 7.3
Hardware: i386
OS: Linux
high
medium
Target Milestone: ---
Assignee: Patrick Macdonald
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-02-05 18:34 UTC by Anders Aleborg
Modified: 2007-03-27 04:00 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-02-05 20:20:26 UTC
Embargoed:


Attachments (Terms of Use)

Description Anders Aleborg 2003-02-05 18:34:44 UTC
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 19:34:18 UTC
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 20:20:26 UTC
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.