Код: Выделить всё
String url="jdbc:mysql://"+host+":"+port+"/"+dbname;
Код: Выделить всё
String url="jdbc:mysql://"+host+":"+port
Подробнее здесь: https://stackoverflow.com/questions/215 ... definition
Код: Выделить всё
String url="jdbc:mysql://"+host+":"+port+"/"+dbname;
Код: Выделить всё
String url="jdbc:mysql://"+host+":"+port