Your MySQL servers may be set to refuse anonymous connections. Mike
"Chris Hewitt" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > 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 > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php