mysql Database adress??

Status
Not open for further replies.

ymeknassi

New Member
Messages
3
Reaction score
0
Points
0
Hello
i'm a newbie on x10Hosting and i subscribed for a free banless hosting and i want to use the mysqlserver... i created a database and a user ti access to it but i cant connect to my database using MyODBC... i tried many server adress combination and i tried for each one both usernames (one composed and the other only the username for database) and it always get error 10060.

Can u please help me to connect to my database??

thanks everybody
 

GamingX

Executive Team
Messages
6,355
Reaction score
3
Points
38
If you are hosting the databases on x10 then the address is localhost
 

kajasweb

New Member
Messages
1,723
Reaction score
0
Points
0
If you are trying to connect from your PC, it is NOT allowed. (Remote MySQL Connections are blocked by default). If you need to do that, add your Static IP to "Remote SQL" Section in cPanel & post your IP for adding it to Firewall.
 

Tyrope

New Member
Messages
6
Reaction score
0
Points
0
i do:
I use a PHP script to connect to my MySQL, so i have to fill in these variables, but they don't seem to work. any corrections would be nice

PHP:
$host = "localhost";
$user = tyrope@localhost;
$pass = ""; // the one i also use in the admin panel, now deleted for obvious reasons
$db = "tyrope_gastenboek"; // it does exists
 
Last edited:

kajasweb

New Member
Messages
1,723
Reaction score
0
Points
0
$user should be "tyrope_tyrope" (Format: cpanelusername_mysqlusername)
 

Tyrope

New Member
Messages
6
Reaction score
0
Points
0
doesn't work...

Here's the page

here's the variables as they are now:
PHP:
$host = "localhost";
$user = "tyrope_tyrope";
$pass = "-SENCORED-";
$db = "tyrope_gastenboek";
 

Bryon

I Fix Things
Messages
8,149
Reaction score
101
Points
48
I don't see what's wrong at that URL. Did you get it working?
 
Status
Not open for further replies.
Top