Dragonmantank
September 11th, 2006, 04:47 PM
I ran an 'apt-get update' and 'apt-get upgrade' on my webserver about an hour ago, and the update and such seemed to go just fine. Now though, MySQL has apparently died. Apache2 and PHP do not see it at all, and I cannot get it to start via '/etc/init.d/mysql start'. When I try to get it to start, I get this:
Starting MySQL database server: mysqld.
.
.
.
.
.
.
.
.
.
.
.
.
.
...failed or took more than 6s.
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 tried removing mysql-server and reinstalling it, but I get the same thing. I even removed everything mysql (at least I think I did) with 'apt-get --purge remove mysql*', which ended up only selecting about 5 things after mysql-server was removed.
Any ideas? I've tried restarting just Apache2 and even the entire box to no avail.
Starting MySQL database server: mysqld.
.
.
.
.
.
.
.
.
.
.
.
.
.
...failed or took more than 6s.
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 tried removing mysql-server and reinstalling it, but I get the same thing. I even removed everything mysql (at least I think I did) with 'apt-get --purge remove mysql*', which ended up only selecting about 5 things after mysql-server was removed.
Any ideas? I've tried restarting just Apache2 and even the entire box to no avail.