Mysql Connect problem

Status
Not open for further replies.

padmakumar

New Member
Messages
31
Reaction score
0
Points
0
Hello,

When i open the website http://padmakumar.net/gallery/ i get the following error.

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'sarath05_imga1'@'stoli.x10hosting.com' (using password: YES) in /home/sarath05/public_html/gallery/includes/db_mysql.php on line 39


Please check and resolve it.
 

Christopher

Retired
Messages
14,659
Reaction score
8
Points
0
Did you do this:
Login to your cPanel, go to Remote MySQL and add "stoli.x10hosting.com" as a host name.
 

padmakumar

New Member
Messages
31
Reaction score
0
Points
0
Hello,
Yes, i have done that....now i am getting the error

Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/sarath05/public_html/gallery/includes/db_mysql.php on line 3

Please help
 

Jarryd

Community Advocate
Community Support
Messages
5,534
Reaction score
43
Points
48
Have you set the MySQL Host in your config file to "MySQL.x10hosting.com" instead of it being set to "localhost"
 
Status
Not open for further replies.
Top