cfreak has asked for the wisdom of the Perl Monks concerning the following question:
This could be a MySQL admin problem but I'm not certain so I'm going to ask my question anyway. Apologies if its off-topic or just plain dumb.
I'm moving a whole bunch of sites from one company to another (long story) I have some Perl sites and some PHP. For some reason the Perl sites cannot connect to the database. They fail with "Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock'". The mysql server is running, and the PHP scripts work just fine. I can also use the command line client and get in (using the same username and password). What is weird is the file /var/run/mysql/mysql.sock doesn't exist, and I can't find mysql.sock on the system anywhere. I assumed that would break PHP scripts as well but this does not appear to be the case.
Can someone give me a clue? Thanks!!
Lobster Aliens Are attacking the world!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: DBI / MySQL weird connection problems
by cLive ;-) (Prior) on Oct 06, 2003 at 23:09 UTC | |
by shenme (Priest) on Oct 07, 2003 at 00:10 UTC | |
|
Re: DBI / MySQL weird connection problems
by Anonymous Monk on Oct 06, 2003 at 23:39 UTC | |
|
Re: DBI / MySQL weird connection problems
by cfreak (Chaplain) on Oct 06, 2003 at 22:19 UTC | |
|
Re: DBI / MySQL weird connection problems
by cfreak (Chaplain) on Oct 08, 2003 at 13:22 UTC |