Greetings,

I installed MySQL 5.1.48-2 on Fedora 13 64bit.

Whenever I tried to connect using the terminal by typing :
[user@work ~]$ mysql

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

I also installed MySQL on Red Hat Enterprise 5 and I still get the same error when I try to connect.

I Googled this problem but did not find a clear answer to this problem.
Is there a step after installation that I've missed?

Nevermind turns out I did not have mysql-server installed only the client.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.