Here you can find the source of toURL(String port, String address, String table)
public static String toURL(String port, String address, String table)
//package com.java2s; //License from project: Apache License public class Main { public static String toURL(String port, String address, String table) { return "jdbc:mysql://" + address + ":" + port + "/" + table + "?autoReconnect=true&useSSL=false"; }/*from w w w . j a v a2 s . c o m*/ }