Quantcast
Channel: BitNami Answers - latest questions
Viewing all articles
Browse latest Browse all 2052

mysql_connect Access denied

$
0
0

It seems like this question has been asked many times, but none of the answers I can find on any forum work, so here goes. I am trying to write a php script that will connect to my bitnami database using mysql_connect. I have double checked the passwords, deleted and recreated users to no use. I can login with the user through putty, but I get an access denied when I try to connect through my php file.

Access denied for user 'myusername'@'localhost' (using password: YES)

I removed the password for myusername and it then allowed the connection, but still could not get access to the database. Going without a password is not a solution anyway. I am wondering if there is a password hash getting in the way. I will be grateful for the help.


Viewing all articles
Browse latest Browse all 2052

Trending Articles