严智鑫
2025-04-12 6bc2a8ea9854d5b578f0bea3557e4e26d0569256
gmms/WebContent/mysqlInsert/mysql_connect.jsp
@@ -6,6 +6,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
@@ -13,10 +14,10 @@
//连接数据库
String ip="localhost:3306";
 String driverClass = "com.mysql.cj.jdbc.Driver";
String url="jdbc:mysql://"+ip+"/haier?serverTimezone=GMT%2B8";
String url="jdbc:mysql://"+ip+"/gmms?serverTimezone=GMT%2B8";
String user = "root"; 
 String password = "beibo.123/";   
String url1 = "jdbc:mysql://"+ip+"/haier";
String url1 = "jdbc:mysql://"+ip+"/gmms";
String urlglass="jdbc:mysql://"+ip+"/mesgglass?serverTimezone=GMT%2B8";
String url3="jdbc:mysql://"+ip+"/glog?serverTimezone=GMT%2B8";