Thread: How To Connect to My Highscore?

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1 How To Connect to My Highscore? 
    Officially Retired


    Join Date
    Oct 2007
    Age
    30
    Posts
    5,454
    Thanks given
    558
    Thanks received
    122
    Rep Power
    1364
    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();
    }
    }
    Reply With Quote  
     

  2. #2  
    hmu

    Jakey's Avatar
    Join Date
    Sep 2007
    Age
    34
    Posts
    6,489
    Thanks given
    109
    Thanks received
    277
    Rep Power
    1218
    cause you not be connected, are you hosting the forums and server on same hoster?
    to contact me, PM me on rune-server.
    Reply With Quote  
     

  3. #3  
    Officially Retired


    Join Date
    Oct 2007
    Age
    30
    Posts
    5,454
    Thanks given
    558
    Thanks received
    122
    Rep Power
    1364
    freehostia hosting my rank
    Reply With Quote  
     

  4. #4  
    hmu

    Jakey's Avatar
    Join Date
    Sep 2007
    Age
    34
    Posts
    6,489
    Thanks given
    109
    Thanks received
    277
    Rep Power
    1218
    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.
    to contact me, PM me on rune-server.
    Reply With Quote  
     

  5. #5  
    Officially Retired


    Join Date
    Oct 2007
    Age
    30
    Posts
    5,454
    Thanks given
    558
    Thanks received
    122
    Rep Power
    1364
    freehostia have sql..i have put sql at my phpMyAdmin
    Reply With Quote  
     

  6. #6  
    hmu

    Jakey's Avatar
    Join Date
    Sep 2007
    Age
    34
    Posts
    6,489
    Thanks given
    109
    Thanks received
    277
    Rep Power
    1218
    FFS you need remote sql. which free hosting does not support.
    to contact me, PM me on rune-server.
    Reply With Quote  
     

  7. #7  
    Officially Retired


    Join Date
    Oct 2007
    Age
    30
    Posts
    5,454
    Thanks given
    558
    Thanks received
    122
    Rep Power
    1364
    aw...look my picture

    Reply With Quote  
     

  8. #8  
    hmu

    Jakey's Avatar
    Join Date
    Sep 2007
    Age
    34
    Posts
    6,489
    Thanks given
    109
    Thanks received
    277
    Rep Power
    1218
    yeah you imported a sql database, thats not connecting it. those are just tables.
    to contact me, PM me on rune-server.
    Reply With Quote  
     

  9. #9  
    Officially Retired


    Join Date
    Oct 2007
    Age
    30
    Posts
    5,454
    Thanks given
    558
    Thanks received
    122
    Rep Power
    1364
    ooo...i want highscore with free hosting i hope there a link for free hosting
    Reply With Quote  
     

  10. #10  
    hmu

    Jakey's Avatar
    Join Date
    Sep 2007
    Age
    34
    Posts
    6,489
    Thanks given
    109
    Thanks received
    277
    Rep Power
    1218
    I dont know you will have to ask your host if they support remote sql.
    to contact me, PM me on rune-server.
    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •