From c6d4fb00425ab7c06953cd1fb3e262053cad6c24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E8=BD=AC=E7=A7=BB?= <870296759@qq.com> Date: Mon, 3 Oct 2022 13:54:09 +0000 Subject: [PATCH] update server/lib/database.js. dd MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 疯狂转移 <870296759@qq.com> --- server/lib/database.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/lib/database.js b/server/lib/database.js index cac4567..9b4cd65 100644 --- a/server/lib/database.js +++ b/server/lib/database.js @@ -2,7 +2,7 @@ // 连接MySQL var mysql = require('mysql'); var pool = mysql.createPool({ - host: 'localhost', + host: 'rm-bp180946xw41088xb5o.mysql.rds.aliyuncs.com', port: '3306', user: 'root', password: 'root', -- Gitee