Ich hab da ein Problem mit mysql unter opensuse 10.2. (absolute Standardinstallation, installierte Pakete: mysql, mysql-client, mysql-shared) Ich wollte mal beginnen und eine Datenbank erstellen, bekomm aber immer folgendes:
Zitat:
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)'
Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists!
|
mysqld scheint zu laufen:
Zitat:
ps xa | grep mysqld
7439 pts/1 S+ 0:00 grep mysqld
|
Auszug aus der /etc/my.conf:
Zitat:
# The following options will be passed to all MySQL clients
[client]
#password = your_password
port = 3306
socket = /var/lib/mysql/mysql.sock
|
Zitat:
ls -a /var/lib/mysql
. .. .protected .run-mysql_upgrade .tmp
|
Die Firewall ist auch nicht schuld. Die mysql.sock Datei gibts nicht. Wenn ich eine leere Datei anlege hilfts trotzdem nix.
Wo happerts da bei mir? Selbst ein Kommando wie mysqladmin version liefert obigen Fehler.
Danke!