Can't connect to sql...

Status
Not open for further replies.

garthgillman146

New Member
Messages
5
Reaction score
0
Points
0
I was just modifying small things on my website, and suddenly I'm not able to access sql. I get this error:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user '***'@'int.web3.vital.x10hosting.com' (using password: YES) in /home/***/public_html/test/***.php on line 157
Unable to connect to database: Access denied for user '***'@'int.web3.vital.x10hosting.com' (using password: YES)

How can i fix this???
 

MaestroFX1

Community Advocate
Community Support
Messages
1,577
Reaction score
60
Points
0
Hello!
All the links that I checked randomly just now in your main domain as well as sub domain, seemed to be working fine.
Please make sure that, you have used:
-------------------------------
servername = localhost
username = cpanelusername_databaseusername
databasename = cpanelusername_database
password = password for cpanelusername_databaseusername
-------------------------------
 

MaestroFX1

Community Advocate
Community Support
Messages
1,577
Reaction score
60
Points
0
Have you granted all the necessary permissions to database user and linked both the database user and database itself?

Could you please verify that you have these IPs listed under your cPanel >> Remote Database Access Hosts :

10.33.248.%
10.33.249.%
192.168.1.%
 
Status
Not open for further replies.
Top