Re: Database problem - works in Windows - not Linux
| From: | Mike Mannakee | Date: | Wed, 12 Feb 2003 17:38:33 +0000 |
| Subject: | Re: Database problem - works in Windows - not Linux | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-135392@lists.php.net to get a copy of this message | ||
Your MySQL servers may be set to refuse anonymous connections.
Mike
"Chris Hewitt" <g0pae@manordat.demon.co.uk> wrote in message
news:3E4ADE55.5020100@manordat.demon.co.uk...
> Lee P. Reilly wrote:
>
> >Hi there,
> >
> >I'm moving an application from Windows -> Linux, and am having a problem
> >with the database. I have the following script to test my database
> >connection (Linux):
> >-=-=-=-=-=-=-=-=-=-=-=-=-=- snip
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> >
> I'd put in a mysql_error() and see what the error message is. The
> username/password could be different. There were some posts here a while
> ago about problems with mysql_pconnect(), I don't know if they may be
> relevant but you could have a look through the archives and see.
>
> HTH
> Chris
>