Hi,
i've searched for 2 days trying to fix this. Didn't find the right answers yet. I followed the
perfect_setup_debian_sarge (didn't install ISPconfig yet). I've done this the last time im March - with no probs. After installing everything, I did /etc/init.d/mysql restart to make sure it was running correctly, but I get the following error:
Quote:
Starting MySQL database server: mysqld...failed.
Please take a look at the syslog.
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
|
I'v checked the logs, but I can't find a way to fix the prob.
Here's the last part(s) of the log files:
Quote:
Jul 7 15:17:27 www mysqld_safe[2423]: started
Jul 7 15:17:27 www mysqld[2427]: 060707 15:17:27 /usr/sbin/mysqld: unknown variable '
old_passwords=1'
Jul 7 15:17:27 www mysqld[2427]:
Jul 7 15:17:27 www mysqld_safe[2429]: ended
Jul 7 15:17:33 www /etc/init.d/mysql[2492]: 0 processes alive and '/usr/bin/mysqladmi
n --defaults-file=/etc/mysql/debian.cnf ping' resulted in
Jul 7 15:17:33 www /etc/init.d/mysql[2492]: ^G/usr/bin/mysqladmin: connect to server
at 'localhost' failed
Jul 7 15:17:33 www /etc/init.d/mysql[2492]: error: 'Can't connect to local MySQL serv
er through socket '/var/run/mysqld/mysqld.sock' (2)'
Jul 7 15:17:33 www /etc/init.d/mysql[2492]: Check that mysqld is running and that the
socket: '/var/run/mysqld/mysqld.sock' exists!
Jul 7 15:17:33 www /etc/init.d/mysql[2492]:
|
I've done this on a rented server which first gave me the same errors, so I decided to setup a test server @ home - the logs are almost the same.
Thanx for any type of help.
Recent comments
15 hours 47 min ago
1 day 1 hour ago
1 day 2 hours ago
1 day 5 hours ago
1 day 10 hours ago
1 day 10 hours ago
1 day 12 hours ago
1 day 22 hours ago
2 days 3 hours ago
2 days 5 hours ago