mdvignesh Posted January 14, 2011 Share Posted January 14, 2011 Please help me to solve this error Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'SYSTEM'@'localhost' (using password: NO) in C:\wamp\www\shop-script-free\includes\database\mysql.php on line 13 Warning: mysql_get_server_info() expects parameter 1 to be resource, boolean given in C:\wamp\www\shop-script-free\includes\database\mysql.php on line 14 Access denied for user 'SYSTEM'@'localhost' (using password: NO) Thanks you very much [attachment deleted by admin] Link to comment https://forums.phpfreaks.com/topic/224396-warning-mysql_connect-functionmysql-connect-access-denied/ Share on other sites More sharing options...
dragon_sa Posted January 14, 2011 Share Posted January 14, 2011 The problem is either your username or password or both are incorrect, it will be in 1 of these 2 files open them and check that your username and password are correct. I am assuming it will be in the first one include("./cfg/connect.inc.php"); include("./includes/database/mysql.php"); Link to comment https://forums.phpfreaks.com/topic/224396-warning-mysql_connect-functionmysql-connect-access-denied/#findComment-1159235 Share on other sites More sharing options...
Skylight_lady Posted January 14, 2011 Share Posted January 14, 2011 Error is displaying from mysql.php file. It can also be your database name or table name as well as ur username and password. Link to comment https://forums.phpfreaks.com/topic/224396-warning-mysql_connect-functionmysql-connect-access-denied/#findComment-1159249 Share on other sites More sharing options...
lastkarrde Posted January 14, 2011 Share Posted January 14, 2011 Default wamp user is root. Try using that instead of SYSTEM. Link to comment https://forums.phpfreaks.com/topic/224396-warning-mysql_connect-functionmysql-connect-access-denied/#findComment-1159258 Share on other sites More sharing options...
mdvignesh Posted January 16, 2011 Author Share Posted January 16, 2011 The problem is either your username or password or both are incorrect, it will be in 1 of these 2 files open them and check that your username and password are correct. I am assuming it will be in the first one include("./cfg/connect.inc.php"); include("./includes/database/mysql.php"); You are right. Thank you very much :D Link to comment https://forums.phpfreaks.com/topic/224396-warning-mysql_connect-functionmysql-connect-access-denied/#findComment-1160145 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.