[PHP] mysql_connect(): '/tmp/mysql.sock' error

2003-06-26 Thread Jean-Christian IMbeault
I've installed PHP from source and MySQL 4.0.9 from rpm on my RH 9 machine. When I try and connect from php using mysql_connect() I get the following error: Warning: mysql_connect(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) The server is up and running and I

Re: [PHP] mysql_connect(): '/tmp/mysql.sock' error

2003-06-26 Thread - Edwin -
Hello, Jean-Christian IMbeault [EMAIL PROTECTED] wrote: I've installed PHP from source and MySQL 4.0.9 from rpm on my RH 9 machine. When I try and connect from php using mysql_connect() I get the following error: Warning: mysql_connect(): Can't connect to local MySQL server through

Re: [PHP] mysql_connect(): '/tmp/mysql.sock' error

2003-06-26 Thread Jason Wong
On Thursday 26 June 2003 15:53, Jean-Christian IMbeault wrote: I've installed PHP from source and MySQL 4.0.9 from rpm on my RH 9 machine. When I try and connect from php using mysql_connect() I get the following error: Warning: mysql_connect(): Can't connect to local MySQL server through

Re: [PHP] mysql_connect(): '/tmp/mysql.sock' error

2003-06-26 Thread Didier McGillis
] To: [EMAIL PROTECTED] Subject: [PHP] mysql_connect(): '/tmp/mysql.sock' error Date: Thu, 26 Jun 2003 16:53:22 +0900 I've installed PHP from source and MySQL 4.0.9 from rpm on my RH 9 machine. When I try and connect from php using mysql_connect() I get the following error: Warning: mysql_connect

Re: [PHP] mysql_connect(): '/tmp/mysql.sock' error

2003-06-26 Thread Jean-Christian IMbeault
Jason Wong wrote: Find out where your mysql.sock is and edit php.ini to match. Good idea. The problem was that the installation instructions for MySQL for vague and confusing. I started trying to install from rpm and that didn't work. I then installed from the binary

Re: [PHP] mysql_connect(): '/tmp/mysql.sock' error

2003-06-26 Thread - Edwin -
Jean-Christian IMbeault [EMAIL PROTECTED] wrote: [snip] The problem was that the installation instructions for MySQL for vague and confusing. I started trying to install from rpm and that didn't work. I then installed from the binary and that was hell too. All the problems stemmed from the