ysqlvc的问题,可以按照以下步骤进行解决:
vcysql。
vcysqlysqlnector-java-8.0.25.jar。
vcysql数据库:
“`portnection;portager;port;
public class TestMysql {aing[] args) {gysql://localhost:3306/test”;game = “root”;g password = “123456”;nectionnull;
try {eysql.cj.jdbc.Driver”);nagernectioname, password);tln(“连接成功!”);dException e) {tStackTrace(); e) {tStackTrace();ally {
try {null) {n.close();
} e) {tStackTrace();
}
}
}
ysql数据库,说明问题已经解决。
vcysqlysql版本。