[Tfug] installing mysql problems
Eric Gearhart
eric at nixwizard.net
Tue Jan 27 15:09:28 MST 2009
On Tue, Jan 27, 2009 at 2:15 PM, <doug1 at email.arizona.edu> wrote:
> Hi,
> I trying to install mysql on a fedora 9 machine I used:
> yum install mysql
> and then yum install mysql mysql-server
> everything seemed to work fine until I typed mysql at the command line and got
> the following error:
>
> ERROR 2002 (HY000): Can't connect to local MySQL server through socket
> '/var/lib/mysql/mysql.sock' (40)
Do you have MySQL configured to accept connections from file sockets?
Off the top of my head that looks like the problem.
Try 'mysql -P 3306 -h localhost' to use a TCP port number instead of
a file socket
--
Eric
http://nixwizard.net
More information about the tfug
mailing list