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

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 Didier McGillis
What has always worked for me was to make sure MySQL is running, and if so then go delete the mysql.sock file and restart MySQL, not sure why but the first couple of times I have seen that error, usually goes away after one or two restarts. From: Jean-Christian IMbeault <[EMAIL PROTECTED]> To:

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 throu

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 thr