php-db | 2001062
Date: 06/21/01
- Next message: Vandana: "[PHP-DB] Oracle-PHP"
- Previous message: Christopher Ostmo: "Re: [PHP-DB] passing db persistent connections through different pages"
- In reply to: Keith Whyman: "[PHP-DB] Connecting to MySQL"
- Next in thread: Lester June Cabrera: "[PHP-DB] Connecting to MySQL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Keith Whyman pressed the little lettered thingies in this order...
> Can anyone help with this problem !
> user name should just be keith but the <email protected> gets added and then I
> can't connect ???
>
> Warning: MySQL Connection Failed: Access denied for user: 'keith <email protected>'
> (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
be helpful.
Basically, " <email protected>" 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?
mysql_connect("host_name","user","password");
$result = mysql("db_name","query");
Christopher Ostmo
a.k.a. tech <email protected>
AppIdeas.com
Meeting cutting edge dynamic
web site needs
For a good time,
http://www.AppIdeas.com/
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Vandana: "[PHP-DB] Oracle-PHP"
- Previous message: Christopher Ostmo: "Re: [PHP-DB] passing db persistent connections through different pages"
- In reply to: Keith Whyman: "[PHP-DB] Connecting to MySQL"
- Next in thread: Lester June Cabrera: "[PHP-DB] Connecting to MySQL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

