MySQL IP?

Status
Not open for further replies.

stealthxxxx

New Member
Messages
3
Reaction score
0
Points
0
Hey, I'm having problems linking to my MySQL database, and I think it's because I need the IP for it and not a domain.

It looks like this:
mysql://stealthx_stealth:passwordforuser@absolut.x10hosting.com/stealthx_b3
(mysql://fullusername:passwordforuser@domainname/databasefullname)

I've looked all through cPanel but can't find the IP to replace 'absolut.x10hosting.com' with (or whatever should be there)

can anyone help?
ty in advance.
 
Last edited:

Anna

I am just me
Staff member
Messages
11,782
Reaction score
594
Points
113
you should always set 'localhost' as the host of mysql
 

stealthxxxx

New Member
Messages
3
Reaction score
0
Points
0
I tried 'localhost' and it didn't work. I forgot to mention it's for Remote MySQL access. I've gone into cPanel and added the IP to the access hosts (188.165.193.102)
 

Anna

I am just me
Staff member
Messages
11,782
Reaction score
594
Points
113
on free hosting you can not access the mysql server from outside of our network, remote mysql is disabled.
 
Status
Not open for further replies.
Top