In my Ubuntu 10.10, following this tutorial, I don’t face step 2. I mean, while installing the packets, I don’t face anything related to configuration.
Then, when I run a command, such a
mysql -u root -p
, I get this error:
ERROR 2002 (HY000): Can’t connect to
local MySQL server through socket
‘/var/run/mysqld/mysqld.sock’ (2)
As I see in other treads,
ps aux | grep mysqld
gives me just this output:
1000 4508 0.0 0.0 5172 760 pts/0 S+
19:53 0:00 grep –color=auto mysqld
As you suggested me:
aptitude search mysql | grep ^i
Gives me:i A libmysqlclient16 –
MySQL database client library
i A libqt4-sql-mysql –
Qt 4 MySQL database driver
i mysql-client-core-5.1 –
MySQL database core client binaries
i A mysql-common –
MySQL database common files, e.g.
/etc/mys i mysql-server-core-5.1
– MySQL database server binaries
What is happening??
Thanks in advance
First check that mysql is installed:
If it’s not do:
This will show the mysql packages that you have installed.
If it is installed, it seems that the sql deamon is not started try