Jump to content
  • 0
Sign in to follow this  
jc fire

highscores help.


serverside :[SPOILER=serverside] private String host = "";
private String user = "runed395_hs";
private String pass = "********";
private String database = "runed395_hs";

public Database(String host, String user, String pass, String data) {
this.host = host;
this.user = user;
this.pass = pass;
this.database = data;

public boolean init() {
try {
this.conn = DriverManager.getConnection("jdbc:mysql://"+host+":3306/"+database, user, pass);
return true;
} catch (SQLException e) {
return false;

define("db_host", "localhost");
define("db_user", "runed395_hs");
define("db_pass", "******");
define("db_name", "runed395_hs");

my sql is database and user is

same on password

but still not connecting.

i dont have any error on my console

Share this post

Link to post
Share on other sites

1 answer to this question

Recommended Posts

Sign in to follow this