how to connect on remote throught a program to my site databases

Status
Not open for further replies.

gogoalex

New Member
Messages
2
Reaction score
0
Points
0
Hi i want to know how i can connect through a program to my site databases. I alredy have the mysql connector, but what i need is to know the parameters of the connection string, i mean the host (ip) user (userlogintodatabase) and password (passwordtomydatabase). I dont know really which is the host where the database is located. The user and the password i suposse is the one i use to login on the cpanel.
Thanks in advance.
 

vishal

-::-X10 Guru-::-
Community Support
Messages
5,255
Reaction score
192
Points
63
MySQL Database : cpanelusername_dbname
MySQL DB User : cpanelusername_mysqlsuer
MySQL DB Host : localhost
MySQL DB Password : your pass
 

Gouri

Community Paragon
Community Support
Messages
4,565
Reaction score
245
Points
63
Hi i want to know how i can connect through a program to my site databases. I alredy have the mysql connector, but what i need is to know the parameters of the connection string, i mean the host (ip) user (userlogintodatabase) and password (passwordtomydatabase). I dont know really which is the host where the database is located. The user and the password i suposse is the one i use to login on the cpanel.
Thanks in advance.

Connecting to mysql from outside not possible. The remote mysql is disabled for security reasons.

If you are writing a php code and uploading to your account and then connecting to mysql possible.
 

Zubair

Community Leader
Community Support
Messages
8,766
Reaction score
305
Points
83
***Thread Closed***
 
Status
Not open for further replies.
Top