I have this message after typing into the browser.
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\xampp\htdocs\Database.php on line 6
Couldn't connect to server
How do I enable MySQL to allow connection ? Help wanted.
Error message
Moderator: General Moderators
- AbraCadaver
- DevNet Master
- Posts: 2572
- Joined: Mon Feb 24, 2003 10:12 am
- Location: The Republic of Texas
- Contact:
Re: Error message
MySQL will allow the connection if you provide the correct username and password.
mysql_function(): WARNING: This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQLextension should be used. See also MySQL: choosing an API guide and related FAQ for more information.
-
phpBrandNew
- Forum Commoner
- Posts: 36
- Joined: Thu Sep 02, 2010 12:51 am
Re: Error message
Where can I see what username and password for that database ?
Re: Error message
Read this.