Hello everyone:
     I wanna connect to mysql server using PHP. My operating system is Redhat 
Fedora Core 4, and the version of mysql is 4.1.3 beta. I've started the server 
using a statement like this:
#>/usr/local/mysql/bin/mysqld -uroot& -S/var/lib/mysql/mysql.sock
But when I call mysql_pconnect("localhost","root","") in my web page, the 
server return me an error, saying "Can't connect to 
socket:/var/lib/mysql/mysql.sock(13)". How can I do?


                                Fang 
   




-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to