From c853d2d040a100aac04b27184bea88345e938d92 Mon Sep 17 00:00:00 2001 From: admin <605696661@qq.com> Date: Tue, 30 Jun 2026 15:41:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20READM.txt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- READM.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/READM.txt b/READM.txt index 7c95489..626875a 100644 --- a/READM.txt +++ b/READM.txt @@ -73,3 +73,6 @@ docker exec -it alert_php bash apt update && apt install -y mariadb-client # 测试连接 mysql -h10.150.117.190 -uroot -p + +docker exec alert_php sh -c "apt update && apt install -y mariadb-client && mysql -h10.150.117.190 -uroot -p你的数据库密码 -e 'show databases;'" +测试容器连接数据库