Keith Whyman pressed the little lettered thingies in this order...
> Can anyone help with this problem !
> user name should just be keith but the @localhost gets added and then I
> can't connect ???
> Warning: MySQL Connection Failed: Access denied for user: 'keith@localhost'
> (Using password: YES) in /usr/var/www/www.happy.de/html/cms/test.php on
> line 23 Problem connecting to DataBase
A copy of the code you are trying to use to connect top the DB would
Basically, "@localhost" gets added to your username whenever you
haven't specified a host name. Did you use mysql_connect() or
mysql_pconnect() before attempting to run the query?
$result = mysql("db_name","query");
a.k.a. [EMAIL PROTECTED]
Meeting cutting edge dynamic
web site needs
For a good time,
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]