Mein Bruder hatte bei seinem Vserver das kleine Problem, dass er keine MySQL-Connections mehr herstellen konnte. Also war meine Hilfe gefordert. Mal eben eingeloggt:

1
2
SERVER:~# mysqld
InnoDB: Error: pthread_create returned 12

Andere Variante:

1
2
3
4
5
6
SERVER:~# /etc/init.d/mysql start
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' (111)'
Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!

Da liegt auch der Hund begraben…Eine langwierige Suche hat mich auf folgende Lösung gebracht: Man muss die my.cnf editieren: Finde:

1
2
3
4
5
# * InnoDB
#
# InnoDB is enabled by default with a 10MB datafile in /var/lib/mysql/.
# Read the manual for more InnoDB related options. There are many!
# * Security Features

Ersetze:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
# * InnoDB
#
# InnoDB is enabled by default with a 10MB datafile in /var/lib/mysql/.
# Read the manual for more InnoDB related options. There are many!
skip-innodb

# * Security Features
```

Wie man also sehen kann wird die InnoDB einfach übergangen, nun startet MySQL wieder ;)

Greetz
Uli