chico1st Posted April 27, 2007 Share Posted April 27, 2007 Okay I havent touched phpMySQL in a long time but I loaded up a previous site that I made to make an adjustment. But im getting this error Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'ccem'@'localhost' (using password: YES) in D:\wamp\www\Lib.php on line 31 problem connecting to database... Warning: mysql_select_db() [function.mysql-select-db]: Access denied for user 'ODBC'@'localhost' (using password: NO) in D:\wamp\www\Lib.php on line 38 Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in D:\wamp\www\Lib.php on line 38 Access denied for user 'ODBC'@'localhost' (using password: NO) What am I doing wrong? How do I check what password im supposed to by using? Quote Link to comment https://forums.phpfreaks.com/topic/48861-solved-access-issues/ Share on other sites More sharing options...
chico1st Posted April 27, 2007 Author Share Posted April 27, 2007 Here is the code that Im using $userName = "ccem"; $serverName = "localhost"; $password = ""; $dbConn = mysql_connect($serverName, $userName, $password); Quote Link to comment https://forums.phpfreaks.com/topic/48861-solved-access-issues/#findComment-239510 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.