mysql + apache

Heiko Kattenstroth Heiko at Meierhof-Kattenstroth.de
Thu Dec 21 18:31:23 CET 2000


Hallo Liste!

Ich habe jetzt bei mir Mysql und Apache mit PHP installiert. Dabei habe ich
aber folgendes Problem:
Sobald ich versuche über Apache mit phpMyAdmin meine Mysql-DB zu verwalten
kommt folgende Meldung:
Warning: MySQL Connection Failed: Can't connect to local MySQL server
through socket '/var/run/mysqld/mysqld.sock' (111) in
/usr/local/apache/htdocs/phpMyAdmin/lib.inc.php3 on line 255

Ist also ein Socke-Problem. Ich kann doch aber in der my.cnf angeben, wo die
mysql.sock liegen soll, oder?
Hier ein Auszug aus meiner cnf:
...
# The following options will be passed to all MySQL c
[client]
#password       = your_password
port            = 3306
socket          = /var/run/mysqld/mysqld.sock

# Here follows entries for some specific programs

# The MySQL server
[mysqld]
port            = 3306
socket          = /var/run/mysqld/mysqld.sock
...

Bestimmt habe ich was Simples übersehen, aber ich komme im Moment einfach
nicht drauf. Any hints?

MfG Heiko Kattenstroth







More information about the Linux mailing list