cause you not be connected, are you hosting the forums and server on same hoster?
|
annyone know wat do i put this red color? Here My Rank Link http://project-rune-rank.freehostia.com/index.php
it dosent show me all my level and name.
public static void createConnection() {
try {
Class.forName("com.mysql.jdbc.Driver").newInstance();
con = DriverManager.getConnection("jdbc:mysql://localhost/highscores","root","YOUR DATABASE PASSWORD");
stmt = con.createStatement();
} catch (Exception e) {
//e.printStackTrace();
}
}
cause you not be connected, are you hosting the forums and server on same hoster?
freehostia hosting my rank
if its freehosting i dont think you can do it cause they dont support remote sql. And you need remote sql if you dont host the highscores and server off the same host.
freehostia have sql..i have put sql at my phpMyAdmin
FFS you need remote sql. which free hosting does not support.
aw...look my picture
yeah you imported a sql database, thats not connecting it. those are just tables.
ooo...i want highscore with free hosting i hope there a link for free hosting
I dont know you will have to ask your host if they support remote sql.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |