Can't connect to mysql

Status
Not open for further replies.

inbox60

New Member
Messages
1
Reaction score
0
Points
0
Hello,

I'm trying to connect to mysql, but i'm stuck with different problems. First of all i can't get my hands on the right mysql host. It's nowhere to be found on the conf mails and cpanel pages.

So i've tried :

"localhost" : doesn't work at all, sql error can't connect to ....
'mysql.x10hosting.com' : doesn't work, sql error connection lost after executing ....
'starka.x10hostiing.com : doesn't work access denied for user ....


so i'm stuck here. What is the right hostname to use ?


my website: http://mynews.x10.mx


thks for your help.
 

MaestroFX1

Community Advocate
Community Support
Messages
1,577
Reaction score
60
Points
0
Hello!

Please check:
------------------------------
servername = localhost
username = cpanelusrname_databaseusrname
databasename = cpanelusrname_database
password = password for cpanelusrname_databaseusrname not cpanelusrname

databasename and username should be linked with the required privileges set.
------------------------------

Currently all I can see is a php parsing error not a mysql/php connect error.
 
Status
Not open for further replies.
Top