[CentOS] MySQL installation problem

Tony Molloy tony.molloy at ul.ie
Thu Nov 5 16:18:10 UTC 2009


On Thursday 05 November 2009 16:11:56 Victor Subervi wrote:
> Hi;
> It's been a while since I controlled my own server and I'm rusty. Trying to
> install mysql
> yum install mysql
> All looks well. Here's what happens:
>
> [root at 13gems www]# mysql
> ERROR 2002 (HY000): Can't connect to local MySQL server through socket
> '/var/lib/mysql/mysql.sock' (2)
> [root at 13gems www]# mysql -u root -p
> Enter password:
> ERROR 2002 (HY000): Can't connect to local MySQL server through socket
> '/var/lib/mysql/mysql.sock' (2)
>
> There's no mysqld in the ps wax. Please advise.
> beno

How about starting mysqld


service mysqld start

chkconfig --level 35 mysqld on

Tony
-- 

Dept. of Comp. Sci.
University of Limerick.


More information about the CentOS mailing list