Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'a5247065_funmaza'@'localhost' (using password: YES) in /home/a5247065/public_html/includes/connect.php on line 2

When I uploaded my website on web hosting that error occurs...plzz help me

Recommended Answers

Make sure the db user has permission to connect to the db.. Also check your host string and password. Sometime webhosts only need 'localhost' or 127.0.0.1 for the host string in your mysql connection

Jump to Post

All 4 Replies

Make sure the db user has permission to connect to the db.. Also check your host string and password. Sometime webhosts only need 'localhost' or 127.0.0.1 for the host string in your mysql connection

Make sure the db user has permission to connect to the db.. Also check your host string and password. Sometime webhosts only need 'localhost' or 127.0.0.1 for the host string in your mysql connection

Looks as if you're simply providing a wrong username/password combination indeed.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.