error msg: Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'mon'@'localhost' (using password: YES) in C:\xampp\htdocs\project\include\connection.php on line 7
Could not Connect
$con=mysql_connect(contype,user,passwd) or die('Could not Connect');
$dbcon=mysql_select_db(db);
?>
//here's my scenario. i add new USER to my mysql in phpmyadmin and its username=mon, password=affinity + function(password) then i cant connect using this account... but using root account, works fine... help guys.
2
Contributors
3
Replies
31 Minutes
Discussion Span
1 Year Ago
Last Updated
4
Views
Related Article:Is this a PHP or MySQL problem ?
is a solved PHP discussion thread by furlanut that has 1 reply and was last updated 1 year ago.
yes i got it.. i found my mistake :) thanks dude for pointing me near to my error... i found in my mysql>user my host is also mon instead of localhost thanks