mySQL rejecting connection

Status
Not open for further replies.

cicobalico8879

New Member
Messages
3
Reaction score
0
Points
0
Hi everybody.

This morning while I was testing my php script for a simple log to mySQL on localhost (previously working), I received this error I'm posting. Being that I didn't change any permission and the credential I'm using have not been changed do you have any idea of what could be causing this?

Is there any server update happening I'm not aware of?



Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'myfaf'@'10.33.248.82' (using password: YES) in /home/myfaf/public_html/retrieve.php on line 7
Could not connect: Access denied for user 'myfaf'@'10.33.248.82' (using password: YES)


Thanks for your time, regards

M.
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
It would not have worked before.

DB usernames are of the format cPanelUsername_foobar
 

cicobalico8879

New Member
Messages
3
Reaction score
0
Points
0
I thought so, that's why I created a couple of test users, gave them full access to the database I'm connecting to and rerun the script but the issue is the same (only changes the username obviously), any clue what else it could be?
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
If that is the error message you are using, you are not using one of the users you created.
 

cicobalico8879

New Member
Messages
3
Reaction score
0
Points
0
Ok I deleted all the users and created a new one and gave just that the permissions. Everything is back to normal. Thank you for your patience, it was very useful and sorry for wasting your time.
 
Status
Not open for further replies.
Top