Re: [PHP-DB] Access to MySQL denied

2001-10-26 Thread Dommers
If your php-script runs on the same server as mysql, you should try 'localhost' as the hostname. That worked for me in most cases. "Russ Michell" <[EMAIL PROTECTED]> schreef in bericht news:SIMEON.10110260917.B@k1c. anglia.ac.uk... > >Of course, it works perfectly fine on my home computer, so I g

Re: [PHP-DB] Access to MySQL denied

2001-10-26 Thread Kirill Safarov
I am new to MySQL (I am more used to Microsoft SQL), but it seems to me that if I provide "username" string as the username parameter, that's what MySQL should use to login into the database. Why is "@lsh101.siteprotect.com " being appended to it? The "username" was provided by the webhost, and a

Re: [PHP-DB] Access to MySQL denied

2001-10-26 Thread Russ Michell
>Of course, it works perfectly fine on my home computer, so I guess it musthave >something to do >with the configuration of PHP (or, possibly, MySQL?) How do you connect to MySQl from home? It sounds as if the user trying to connect to MySQL doesn't have the right privileges to connect top th