Help? Wath is the Database host??

myusername

New Member
Messages
6
Reaction score
0
Points
0
Yeah.. But i'm making a program... And the program is suposed to connect to the database im hosting here...
 

tnl2k7

Banned
Messages
3,131
Reaction score
0
Points
0
Yes, and the host is 'localhost' :). You can't connect to MySQL from another host - the website that needs access to MySQL must be hosted on x10Hosting. If you're caught with loads of connections your x10Hosting account will be terminated.

-Luke.
 

myusername

New Member
Messages
6
Reaction score
0
Points
0
Well... How am i supose to get the Program running in x10Hosting.com...

I just need the Program to connect to the Database... Is there no way to do this?
 

tnl2k7

Banned
Messages
3,131
Reaction score
0
Points
0
YES! As I've already said, the database host is just 'localhost'. Where the program asks for the database host, put 'localhost'. This is the fourth time it's been said now, and I'm not saying it again. Because the web server and MySQL server are on the same machine, all you need to use is 'localhost' and the server does the rest, okay?

-Luke.
 

myusername

New Member
Messages
6
Reaction score
0
Points
0
It's not my machine.. Its on x10hosting.com

I WANT MY PROGRAM TO CONNECT TO x10hosting.com.. Find the Database and Connect to it....
 

tnl2k7

Banned
Messages
3,131
Reaction score
0
Points
0
So for the sixth time, use 'localhost' as the database host. Seriously, just upload the script to x10Hosting, and in its settings, put 'localhost' as the database host. You can configure your databases in the MySQL Databases section of cPanel, just go to http://mrximholo.pcriot.com:2082/, login with your hosting username and password (xim is your username ;)), then click MySQL Databases. You'll need to add a user and a database, then add the user to that database. OK?

-Luke.
 

tnl2k7

Banned
Messages
3,131
Reaction score
0
Points
0
What's the error? How are you connecting to it? What program are you using? We need more information to help you properly. If you'd like to send me a link to the 'program' it would help a lot.

-Luke.
 

myusername

New Member
Messages
6
Reaction score
0
Points
0
Sorry.. Im MAKING the Program.. And its meant to log in to a forum...

And i use x10hosting.com as database...
 

tnl2k7

Banned
Messages
3,131
Reaction score
0
Points
0
Right, this really isn't helping. What is the error message? Are you running this 'program' from your own computer, or on x10Hosting? Is it written in PHP or some other language? Have you set the database up in cPanel? What code are you using to connect? If you don't give me any information I don't know how you expect me to help.

-Luke.
 

woiwky

New Member
Messages
390
Reaction score
0
Points
0
If all it has to do is login to a forum. Just make a login script on your x10 server and have the program create a send a post request to the script with login details.

Any other actions can be done the same way. Just be sure to save the session id from the login response for subsequent requests.
 
Top