TiMbO2k
08.07.01, 17:54
Hi,
ich habe folgendes Problem:
Ich will auf meinem Linux PC ein LAMP System installieren.
Ich habe alles so installiert:
MySQL: ./configure --prefix=/usr/local/mysql
Apache: ./configure --prefix=/usr/local/apache --enable-module=so
PHP: ./configure --prefix=/usr/local/php --with-apxs=/usr/local/apache/bin/apxs --with-mysql=/usr/local/mysql --enable-ftp
Es läuft soweit alles einwandfrei aber wenn ich per PHP script auf die MySQL Datenbank zugreifen will (per PHPMyAdmin oder andere Scripte) kommt immer diese Meldung:
Warning: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/public/http/admin/lib.inc.php3 on line 255
Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/public/http/admin/lib.inc.php3 on line 255
Fehler
MySQL meldet: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
MySQL läuft aber und mit dem Perlmodul kann ich auch auf die MySQL Datenbank zugreifen.
Woran könnte es liegen?
MfG TiMbO2k
ich habe folgendes Problem:
Ich will auf meinem Linux PC ein LAMP System installieren.
Ich habe alles so installiert:
MySQL: ./configure --prefix=/usr/local/mysql
Apache: ./configure --prefix=/usr/local/apache --enable-module=so
PHP: ./configure --prefix=/usr/local/php --with-apxs=/usr/local/apache/bin/apxs --with-mysql=/usr/local/mysql --enable-ftp
Es läuft soweit alles einwandfrei aber wenn ich per PHP script auf die MySQL Datenbank zugreifen will (per PHPMyAdmin oder andere Scripte) kommt immer diese Meldung:
Warning: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/public/http/admin/lib.inc.php3 on line 255
Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/public/http/admin/lib.inc.php3 on line 255
Fehler
MySQL meldet: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
MySQL läuft aber und mit dem Perlmodul kann ich auch auf die MySQL Datenbank zugreifen.
Woran könnte es liegen?
MfG TiMbO2k