1 |
> I moved my /var to a new disk and now amarok will nor work because it can't |
2 |
> connect to mysql |
3 |
> Can't connect to local MySQL server through |
4 |
> socket '/var/run/mysqld/mysqld.sock' (2) |
5 |
> |
6 |
> If I /etc/init.d/mysql stop |
7 |
> * Caching service dependencies ... [ ok ] |
8 |
> * WARNING: mysql has not yet been started. |
9 |
> |
10 |
> If I /etc/init.d/mysql start |
11 |
> * ... |
12 |
> * Starting mysql (/etc/mysql/my.cnf) |
13 |
> * MySQL NOT started (0) |
14 |
> |
15 |
> If I just type mysql, I get the following error:- |
16 |
> ERROR 2002 (HY000): Can't connect to local MySQL server through |
17 |
> socket '/var/run/mysqld/mysqld.sock' (2) |
18 |
> |
19 |
> So it looks as if I have really screwed up moving /var |
20 |
> The /var/run/mysql directory is empty |
21 |
|
22 |
On the second thought. |
23 |
Is it /var/run/mysql or /var/run/mysqld? |
24 |
You should probably recreate /var/run/mysqld |
25 |
and set the permissions. |
26 |
And make /etc/my.cnf a symlink to /etc/mysql/my.cnf |
27 |
CLI utilities probably look for /etc/my.cnf |
28 |
|
29 |
HTH, |
30 |
Sasha |
31 |
|
32 |
-- |
33 |
gentoo-user@g.o mailing list |