Writing to an x10 database from my computer

insani24

New Member
Messages
2
Reaction score
0
Points
0
So I'm trying to get character saving (for a game I'm developing) to a database made through my webhost, the problem is I can't get the connection to go through.

What I have is:

Code:
con = DriverManager.getConnection("jdbc:mysql://domain/database_name","user","password");

Yes, I have added my IP to the list of remote connections allowed.

I don't know if any of you are at all experienced with java, so that may be an issue. I may just be using the wrong link to access the database, so any help is appreciated.

Also, I apologize if this is in the incorrect section
 

essellar

Community Advocate
Community Support
Messages
3,295
Reaction score
227
Points
63
Remote MySQL access is not available on Free Hosting accounts; you would need to create an HTTP API (XML/SOAP, JSON, etc.) on your site to do CRUD remotely.
 
Top