Azx619 Posted June 1, 2008 Share Posted June 1, 2008 i think i know why i get this error,its probably cause i have put in the wrong information in config.php, but i dunno what is wrong and what is right.so i log in my site then goto admin and this error comes up. Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'username'@'localhost' (using password: YES) in /home/azx619/public_html/earnsomebux/admin/config.php on line 10 Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/azx619/public_html/earnsomebux/admin/config.php on line 10 Warning: mysql_query() [function.mysql-query]: Access denied for user 'azx619'@'localhost' (using password: NO) in /home/azx619/public_html/earnsomebux/admin/start.php on line 16 Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/azx619/public_html/earnsomebux/admin/start.php on line 16 Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/azx619/public_html/earnsomebux/admin/start.php on line 17 Login incorrecto. sorry it its in the wrong section Link to comment https://forums.phpfreaks.com/topic/108219-mysqlphp-connecting-error/ Share on other sites More sharing options...
DarkerAngel Posted June 1, 2008 Share Posted June 1, 2008 It looks like something with a configuration file, it don't seem to be passing the proper authentication information. On that note none of the queries would be valid. Link to comment https://forums.phpfreaks.com/topic/108219-mysqlphp-connecting-error/#findComment-554710 Share on other sites More sharing options...
hansford Posted June 1, 2008 Share Posted June 1, 2008 post your code, changing your password of course. Link to comment https://forums.phpfreaks.com/topic/108219-mysqlphp-connecting-error/#findComment-555058 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.