Re: [CentOS] OFF Topic: mysql installation problem

2008-02-15 Thread Ed Morrison
David G. Miller wrote: 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 Mysqld.log appears to be fine: [EMAIL PROTECTED] ~]

Re: [CentOS] OFF Topic: mysql installation problem

2008-02-15 Thread David G. Miller
Ed Morrison <[EMAIL PROTECTED]> wrote: mouss wrote: > > anything in /var/log/mysqld.log? nothing: [EMAIL PROTECTED] ~]# cat /var/log/mysqld.log [EMAIL PROTECTED] ~]# Speaking of mysqld.log, check the ownership and permissions. I vaguely remember chasing a similar problem only to fi

Re: [CentOS] OFF Topic: mysql installation problem

2008-02-14 Thread Michael A. Peters
Jeff Larsen wrote: Uhh... locate is not exactly real time. Depends on updatedb which is daily by cron if at all. Though it will warn if the database is over 8 days old... True - but that doesn't explain why my.cnf is missing when the rpm installs it, or why mysql databases show up in locate

Re: [CentOS] OFF Topic: mysql installation problem

2008-02-14 Thread Jeff Larsen
On Thu, Feb 14, 2008 at 6:59 PM, Michael A. Peters <[EMAIL PROTECTED]> wrote: > Ed Morrison wrote: > > This is interesting: > > > > Locate shows this: > > > > [EMAIL PROTECTED] ~]# locate mysql | less > > > > > > > > > But listing the directories will not show the same files: > > > > [EM

Re: [CentOS] OFF Topic: mysql installation problem

2008-02-14 Thread Michael A. Peters
Ed Morrison wrote: This is interesting: Locate shows this: [EMAIL PROTECTED] ~]# locate mysql | less But listing the directories will not show the same files: [EMAIL PROTECTED] ~]# ls -al /var/lib/mysql/mysql total 8 drwx-- 2 mysql mysql 4096 Feb 14 11:44 . drwxr-xr-x 4 mysql mysql 40

Re: [CentOS] OFF Topic: mysql installation problem

2008-02-14 Thread Ed Morrison
This is interesting: Locate shows this: [EMAIL PROTECTED] ~]# locate mysql | less /var/lib/mysql /var/lib/mysql/ib_logfile0 /var/lib/mysql/ibdata1 /var/lib/mysql/vpopmail /var/lib/mysql/vpopmail/db.opt /var/lib/mysql/ib_logfile1 /var/lib/mysql/mysql /var/lib/mysql/mysql/user.frm /var/lib/mysql/

Re: [CentOS] OFF Topic: mysql installation problem

2008-02-14 Thread Ed Morrison
mouss wrote: anything in /var/log/mysqld.log? nothing: [EMAIL PROTECTED] ~]# cat /var/log/mysqld.log [EMAIL PROTECTED] ~]# ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] OFF Topic: mysql installation problem

2008-02-14 Thread mouss
Ed Morrison wrote: mouss wrote: # rpm -q mysql-libs mysql-libs-5.0.54-1.el4.centos so it's the same version, but: # rpm -ql mysql-libs|grep /etc /etc/ld.so.conf.d/mysql-i386.conf /etc/my.cnf has /etc/my.cnf. here are the contents if that could help. # cat /etc/my.cnf [mysqld] datadir=/var/l

Re: [CentOS] OFF Topic: mysql installation problem

2008-02-14 Thread Ed Morrison
mouss wrote: # rpm -q mysql-libs mysql-libs-5.0.54-1.el4.centos so it's the same version, but: # rpm -ql mysql-libs|grep /etc /etc/ld.so.conf.d/mysql-i386.conf /etc/my.cnf has /etc/my.cnf. here are the contents if that could help. # cat /etc/my.cnf [mysqld] datadir=/var/lib/mysql socket=/var

Re: [CentOS] OFF Topic: mysql installation problem

2008-02-14 Thread mouss
Ed Morrison wrote: mouss wrote: # yum install mysql mysql-server php-mysql # ls -a /var/lib/mysql . .. # rpm -qf /etc/my.cnf mysql-libs-5.0.54-1.el4.centos # service mysqld start Initializing MySQL database: [ OK ] Starting MySQL: [ OK ] [EMAIL PROTECTED] lib]# ls mysql ibdata1 ib_

Re: [CentOS] OFF Topic: mysql installation problem

2008-02-14 Thread Ed Morrison
mouss wrote: # yum install mysql mysql-server php-mysql # ls -a /var/lib/mysql . .. # rpm -qf /etc/my.cnf mysql-libs-5.0.54-1.el4.centos # service mysqld start Initializing MySQL database: [ OK ] Starting MySQL: [ OK ] [EMAIL PROTECTED] lib]# ls mysql ibdata1 ib_logfile0 ib_logfile

Re: [CentOS] OFF Topic: mysql installation problem

2008-02-14 Thread mouss
Ed Morrison wrote: mouss wrote: But there isn't a my.cnf file in /etc/ if you want one, you need to create it. the package installs example file that you can use. In all my other mysql installs there has always been an /etc/my.cnf after the installation but you are correct this can be cre

Re: [CentOS] OFF Topic: mysql installation problem

2008-02-14 Thread Ed Morrison
mouss wrote: But there isn't a my.cnf file in /etc/ if you want one, you need to create it. the package installs example file that you can use. In all my other mysql installs there has always been an /etc/my.cnf after the installation but you are correct this can be created easily enough

Re: [CentOS] OFF Topic: mysql installation problem

2008-02-14 Thread mouss
Ed Morrison wrote: Hi All: I'm trying to get mysql 5 installed on my CentOS 4.6 installation. I've installed mysql using yum: yum -y install perl-DBD-MySQL mysql-server mysql php-mysql mod_auth_mysql phpmyadmin mysqlclient Yum says it installed fine: Resolving Dependencies --> Populating

[CentOS] OFF Topic: mysql installation problem

2008-02-14 Thread Ed Morrison
Hi All: I'm trying to get mysql 5 installed on my CentOS 4.6 installation. I've installed mysql using yum: yum -y install perl-DBD-MySQL mysql-server mysql php-mysql mod_auth_mysql phpmyadmin mysqlclient Yum says it installed fine: Resolving Dependencies --> Populating transaction set wit