Getting error ” Access Denied error ” in my Database Connection
Solution :
The error “Access denied for user” might be due to the wrong database username,password or database name.Also check with the following sample database connection string as,
Sample Database Connection String:
// Connect to the database
mysql_connect ('localhost', 'UserName', 'Password') ;
mysql_select_db ('DatabaseName');
?>
Connected successfully