Re: [gentoo-user] mysql won't start

2006-06-12 Thread Alexander Kirillov
I moved my /var to a new disk and now amarok will nor work because it can't connect to mysql Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) If I /etc/init.d/mysql stop * Caching service dependencies ... [ ok ] * WARNING:

Re: [gentoo-user] mysql won't start

2006-06-12 Thread Alexander Kirillov
I moved my /var to a new disk and now amarok will nor work because it can't connect to mysql Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) If I /etc/init.d/mysql stop * Caching service dependencies ... [ ok ] * WARNING:

Re: [gentoo-user] mysql won't start

2006-06-12 Thread Paul Stear
On Monday 12 June 2006 12:09, Alexander Kirillov wrote: snip So it looks as if I have really screwed up moving /var The /var/run/mysql directory is empty Check the permissions on /var/run/mysql. It should be owned by mysql. What's in mysql logs? They're probably in /var/log/mysql Sasha

Re: [gentoo-user] mysql won't start

2006-06-12 Thread Ralph Slooten
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Is it /var/run/mysql or /var/run/mysqld? You should probably recreate /var/run/mysqld and set the permissions. /var/run/mysqld must have mysql:mysql permissions (drwxr-xr-x) And make /etc/my.cnf a symlink to /etc/mysql/my.cnf CLI utilities

Re: [gentoo-user] mysql won't start

2006-06-12 Thread Alexander Kirillov
Is their anything else that should not be root root in /var/run or /var/tmp ?? Probably. It depends on the programs you've installed. Next time use cp -Rp to preserve the permissions. Sasha -- gentoo-user@gentoo.org mailing list

Re: [gentoo-user] mysql won't start

2006-06-12 Thread Michael W. Holdeman
On Monday 12 June 2006 08:04, Ralph Slooten wrote: Is it /var/run/mysql or /var/run/mysqld? You should probably recreate /var/run/mysqld and set the permissions. /var/run/mysqld must have mysql:mysql permissions (drwxr-xr-x) And make /etc/my.cnf a symlink to /etc/mysql/my.cnf CLI