[CentOS] OFF Topic: mysql installation problem

David G. Miller dave at davenjudy.org
Fri Feb 15 15:16:16 UTC 2008


Ed Morrison <edward.morrison at gmail.com> wrote:

> mouss wrote:
>   
>> >
>> > anything in /var/log/mysqld.log?
>>     
> nothing:
>
> [root at ftp ~]# cat /var/log/mysqld.log
>
> [root at ftp ~]#
Speaking of mysqld.log, check the ownership and permissions.  I vaguely 
remember chasing a similar problem only to find out that it was being 
caused by the log file not having the right permissions and ownership.  
For mysqld.log the should be:

-rw-r----- 1 mysql   mysql       249 Jan 18 16:50 mysqld.log

It also looks like you have multiple versions of mysqlclient plus the 
mysql rpm (which is the standard client):

[root at ftp ~]# rpm -qa mysql*
> mysqlclient14-4.1.22-1.el4s1.1 <--First client
> mysqlclient10-devel-3.23.58-9.2.c4
> mysql-5.0.54-1.el4.centos <-- The centos client
> mysqlclient10-3.23.58-4.RHEL4.1 <-- Another one
> mysql-server-5.0.54-1.el4.centos
> mysqlclient10-3.23.58-9.2.c4 <-- and still another
> mysql-libs-5.0.54-1.el4.centos


which could explain why installing the server didn't work.  You should 
only have:

# rpm -qa | grep mysql
mysql-5.0.22-2.2.el5_1.1
php-mysql-5.1.6-15.el5
mysql-devel-5.0.22-2.2.el5_1.1
mysql-server-5.0.22-2.2.el5_1.1

Cheers,
Dave

-- 
Politics, n. Strife of interests masquerading as a contest of principles.
-- Ambrose Bierce




More information about the CentOS mailing list