Re: MySQL issue on Linux master 2.6.9-5.EL
Posted by: Krishna N
Date: July 25, 2005 05:03AM

I have already done point (1) , but when I try to login to MySQL as

I have installed MySQL-server-4.0.16-0.i386.rpm and MySQL-client-4.0.16-0.i386.rpm
I am using the following command to login to mysql

# mysql -u root

I have got the error as

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

I have seen the /var/log/messages file for the error and the error is as follows

Jul 25 17:40:11 master kernel: audit(1122293411.367:0): avc: denied { sys_resource } for pid=3606 exe=/usr/sbin/mysqld capability=24 scontext=root:system_r:mysqld_t tcontext=root:system_r:mysqld_t tclass=capability
Jul 25 17:40:15 master pam_timestamp_check: pam_timestamp: `/var/' permissions are lax
Jul 25 17:40:18 master kernel: audit(1122293418.623:0): avc: denied { sys_resource } for pid=3616 exe=/usr/sbin/mysqld capability=24 scontext=root:system_r:mysqld_t tcontext=root:system_r:mysqld_t tclass=capability
Jul 25 17:40:20 master pam_timestamp_check: pam_timestamp: `/var/' permissions are lax
Jul 25 17:40:55 master last message repeated 7 times
Jul 25 17:42:00 master last message repeated 13 times
Jul 25 17:43:05 master last message repeated 13 times
Jul 25 17:44:10 master last message repeated 13 times
Jul 25 17:45:15 master last message repeated 13 times
Jul 25 17:46:20 master last message repeated 13 times
Jul 25 17:47:25 master last message repeated 13 times
Jul 25 17:48:30 master last message repeated 13 times
Jul 25 17:49:35 master last message repeated 13 times

Options: ReplyQuote


Subject
Written By
Posted
Re: MySQL issue on Linux master 2.6.9-5.EL
July 25, 2005 05:03AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.