Bug 123311 - cannot connect to local MySQL server.
Summary: cannot connect to local MySQL server.
Alias: None
Product: Fedora
Classification: Fedora
Component: mysql
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Tom Lane
QA Contact: David Lawrence
Depends On:
TreeView+ depends on / blocked
Reported: 2004-05-16 22:32 UTC by Amos Ku
Modified: 2013-07-03 03:01 UTC (History)
1 user (show)

Clone Of:
Last Closed: 2006-10-29 22:03:20 UTC

Attachments (Terms of Use)

Description Amos Ku 2004-05-16 22:32:27 UTC
Description of problem:

Mysql server does not work. Message says "ERROR 2002: Can't connect to
local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) This   
problem has occrred since I installed FC1. 

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

How reproducible:

Open a monitor window. Type "mysql" at the prompt.

Steps to Reproduce:
1.Open a monitor window
2.Type mysql at the prompt
Actual results:

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

Expected results:

Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is x to server version: x.x.x

Additional info:

Comment 1 Tom Lane 2004-10-06 22:39:32 UTC
That's what you get if mysqld isn't running.  Perhaps you neglected to
install or start the mysql server?

Comment 2 John Thacker 2006-10-29 22:03:20 UTC
Closing per lack of response to previous request for information.  Note that FC3
and FC4 are supported by Fedora Legacy for security fixes only.  Please install
a still supported version and retest.  If it still occurs on FC5 or FC6,
please reopen and assign to the correct version.  Otherwise, if this a security
issue, please change the product to Fedora Legacy.  Thanks, and we are sorry
that we did not get to this bug earlier.

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