PDA

View Full Version : [Mysql] mysql_connect(): Can't connect to local MySQL....


The X
15-12-2003, 00:43
Sto cercando d creare un piccolo database in PHP gestito da Mysql che mi gira sotto Apache-Ssl...
Ho creato una pagina d inserimento dati tramite form... se premo "INVIA DATI" mi da errore....

Questo è l'errore che mi da quando tento d collegarmi al database :

Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /mnt/share/store/web/apache_ssl/dynamic/php/library/Mysql.inc on line 102

Warning: Connessione NOt_Permanent Server : non avvenuta in /mnt/share/store/web/apache_ssl/dynamic/php/library/Mysql.inc on line 103

Qlc mi può dare 1 mano ?

tnk

maxithron
15-12-2003, 08:41
Il demone mysql l'hai avviato?

Se no:

/etc/init.d/mysql start

The X
15-12-2003, 09:06
Originariamente inviato da maxithron
Il demone mysql l'hai avviato?

Se no:

/etc/init.d/mysql start

SI, ovviamente il demone mysql è avviato.....