Re: [PHP-INST] Mysql socket connect problems

2001-03-21 Thread B. van Ouwerkerk
> > I think you should be fine > > after changing the php.ini file. > >Yes, I wouldn't be surprised if the problem is an existing >configfile, but I don't know which one. The location >of mysql.sock isn't specified or implied in php.ini, so >far as I can see. Check again. "grep mysql php.ini"

Re: [PHP-INST] Mysql socket connect problems

2001-03-20 Thread Aaron Joseph Pagel
make sure that the permission for the mysql.sock file and the mysql directory that it is located in are both set to 755. if the mysql.sock file is located in a different directory that what the error msg gives you, then create a simlink to the file. On Tue, 20 Mar 2001, Paul Newby wrote: > > I

Re: [PHP-INST] Mysql socket connect problems

2001-03-20 Thread Paul Newby
> >which is kind of odd because in the process of getting > >PHP4 installed, I removed and MySQL, and changed > >the layout in the process: the mysql directory > >was moved from /var/lib to /usr/local/mysql/var > >and PHP4 was configured with '--with-mysql=/usr/local/mysql' > >... so I don't know

Re: [PHP-INST] Mysql socket connect problems

2001-03-20 Thread B. van Ouwerkerk
>which is kind of odd because in the process of getting >PHP4 installed, I removed and reinstalled MySQL, and changed >the layout in the process: the mysql directory >was moved from /var/lib to /usr/local/mysql/var >and PHP4 was configured with '--with-mysql=/usr/local/mysql' >... so I don't know

Re: [PHP-INST] Mysql socket connect problems

2001-03-20 Thread Paul Newby
I also have the problem described by Jason, or a somewhat similar one. The MySQL command line monitor works fine, but when php mysql functions are called from a script I get Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' which is kind of odd because in the pro