记得上下班打卡 | git大法好,push需谨慎

Commit ad7e10fa authored by 胡佳晨's avatar 胡佳晨

修改 config 和 adam的redis

parent 3a3cc713
...@@ -458,8 +458,8 @@ public class DataImpl { ...@@ -458,8 +458,8 @@ public class DataImpl {
public boolean order(String month) { public boolean order(String month) {
String driverClassName = "com.mysql.cj.jdbc.Driver"; //启动驱动 String driverClassName = "com.mysql.cj.jdbc.Driver"; //启动驱动
// String url = "jdbc:mysql://pc-2ze6z2hxkug559q79.mysql.polardb.rds.aliyuncs.com:3306/mall"; //设置连接路径 String url = "jdbc:mysql://pc-2ze6z2hxkug559q79.mysql.polardb.rds.aliyuncs.com:3306/mall"; //设置连接路径
String url = "jdbc:mysql://zhengzai.mysql.polardb.rds.aliyuncs.com:3306/mall"; // String url = "jdbc:mysql://zhengzai.mysql.polardb.rds.aliyuncs.com:3306/mall";
String username = "readonly"; //数据库用户名 String username = "readonly"; //数据库用户名
String password = "ZWDsf8Fy"; //数据库连接密码 String password = "ZWDsf8Fy"; //数据库连接密码
Connection con = null; //连接 Connection con = null; //连接
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment