ODBC access denied in wampserver

"Jacob Kruger" <[email protected]>
Newsgroups gmane.comp.php.windows
Message-ID <3D0ECBDFDAF046A4859F1445C66E4FB3@rwilco>
Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\wamp\www\spiraleye\sql.php on line 9
(Problem: Access denied for user 'ODBC'@'localhost' (using password: NO)
Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in C:\wamp\www\spiraleye\sql.php on line 15


Line 9 is the following:
$con = mysql_connect($mySQLServer,$mySQLUsername, $mySQLPassword);

Line 15 is the following:
mysql_select_db($mySQLDB, $con);

I initially had this issue while trying to connect with the default, blank password for user, root, but now set the password to something else using phpmyadmin, and it works via mysql-front, but still gives me the same error/issue when trying to access the database via a PHP page?

Any thoughts?

TIA

Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'



__________ Information from ESET NOD32 Antivirus, version of virus signature database 5213 (20100621) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.