$link = mysql_pconnect("localhost", "bm_user", "password") or die("Could not connect : " . mysql_error()); Return : Could not connect : Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13) If I run shell>mysql -h localhost -u bm_user -ppassword Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 29 to server version: 4.0.16-standard Type 'help;' or '\h' for help. Type '\c' to clear the buffer. What is the problem? Thank you Jose. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php