SQL error

Status
Not open for further replies.

hanhleo2

New Member
Messages
5
Reaction score
0
Points
0
Hi,

I got this error for more than a week now. Follow the announcement news I think this error has been fixed, but not sure why I still have this error till now. Any help would be much appreciated.
For your information I have tried to go to the database and add the % in the SQL remote server, but it does not fix this problem.
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'hanhleo1'@'int.chopin.x10hosting.com' (using password: YES) in /home/hanhleo1/public_html/index2.php on line 14

Thanks
 

Gouri

Community Paragon
Community Support
Messages
4,565
Reaction score
245
Points
63
Hi,

I got this error for more than a week now. Follow the announcement news I think this error has been fixed, but not sure why I still have this error till now. Any help would be much appreciated.
For your information I have tried to go to the database and add the % in the SQL remote server, but it does not fix this problem.
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'hanhleo1'@'int.chopin.x10hosting.com' (using password: YES) in /home/hanhleo1/public_html/index2.php on line 14

Thanks

The database user should be like yourcpanelusername_databaseusername
The database is also like yourcpanelusername_databasename
The database host should be localhost.

check you config file
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
Please try:

1. cPanel --> MySQL Databases

Current Databases

aaa_jo151 0.00 MB aaa_jo151 X Delete Database

Click on the user
Check ALL PRIVILEGES on the next screen Even if all the other boxes are checked, check "ALL"
Click "Save Changes"
Repeat for all db users
 

hanhleo2

New Member
Messages
5
Reaction score
0
Points
0
Thanks a bunch guys. I didn't have to do all of these steps before. Much appreciated for your help.
 
Status
Not open for further replies.
Top