Michel: MYSQL

Hallo

Ich hab ein kleines Problem. Ich versuche per PHP auf MySQL zuzugreifen.
Doch ich bekomme folgende Fehlermeldung:

Warning: mysql_connect(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /usr/local/apache2/htdocs/aaa/config.php on line 5

Was mach ich falsch?

Danke für Antworten

  1. hi,

    Ich hab ein kleines Problem. Ich versuche per PHP auf MySQL zuzugreifen.
    Doch ich bekomme folgende Fehlermeldung:

    Warning: mysql_connect(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /usr/local/apache2/htdocs/aaa/config.php on line 5

    Was mach ich falsch?

    Was hast du _überhaupt_ gemacht?
    Mal gesucht, mal ins Handbuch geschaut ...?

    http://dev.mysql.com/doc/refman/4.1/en/can-not-connect-to-server.html

    gruß,
    wahsaga

    --
    /voodoo.css:
    #GeorgeWBush { position:absolute; bottom:-6ft; }