bug
This commit is contained in:
@@ -16,11 +16,11 @@ import java.util.Map;
|
||||
public class DBUtil {
|
||||
|
||||
// 四大金刚
|
||||
String dname = Utils.getPeoperties("dbname")+"";
|
||||
String dname = Utils.getPeoperties("dbname");
|
||||
String driver = "com.mysql.jdbc.Driver";// 驱动名称
|
||||
String url = "jdbc:mysql://"+Utils.getPeoperties("dburl")+":"+Utils.getPeoperties("dbport")+"/"+dname+"?useUnicode=false&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true&autoReconnect=true&useSSL=false";// 连接
|
||||
String username = Utils.getPeoperties("dbusername")+"";// 用户名
|
||||
String password = Utils.getPeoperties("dbpassword")+"";// 密码
|
||||
String username = Utils.getPeoperties("dbusername");// 用户名
|
||||
String password = Utils.getPeoperties("dbpassword");// 密码
|
||||
|
||||
// 三剑客
|
||||
Connection con = null;// 连接对象
|
||||
|
||||
Reference in New Issue
Block a user