Hi all, 
I'm having some problems with mysql, php4 and apache ...
PHP works ok... but a can't connect mysql database...
This is the error message: Warning: MySQL Connection Failed: Can't connect to local 
MySQL server through socket '/var/lib/mysql/mysql.sock' (111) in 
/home/httpd/html/t.php on line 4
The comanda line is: $conn = mysql_connect('localhost','tcc','');
At the linux shell "mysql -u tcc -p" works normal... 
What's wrong?

Thanks, Leonardo (ICQ 47489507)

Reply via email to