更新 server.js

This commit is contained in:
guoswork 2024-07-20 10:12:44 +08:00
parent 5aaf2397f3
commit 39a0fbcdbc

View File

@ -11,7 +11,7 @@ app.use(cors());
// 创建 MySQL 连接 // 创建 MySQL 连接
const db = mysql.createConnection({ const db = mysql.createConnection({
host: '1Panel-mysql-dHBZ', host: '172.18.0.1',
user: 'login_test', user: 'login_test',
password: 'Guoswork105', password: 'Guoswork105',
database: 'login_test' database: 'login_test'