[PHP-DB] Access to MySQL denied

2001-10-26 Thread Kirill Safarov
I cannot connect to MySQL database located at the webhost. The command: $link = mysql_connect('hostname:3306','username','password') or die (Could not connect); (with the proper hostname of course) returns this error message: MySQL Connection Failed: Access denied for user: '[EMAIL PROTECTED]'

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