更新 READM.txt

This commit is contained in:
2026-06-30 15:40:11 +08:00
parent 915667937a
commit fda83e9cfd
+7
View File
@@ -66,3 +66,10 @@ pip3 install pymysql 依赖
GRANT ALL ON alert_mail_stat.* TO 'root'@'10.150.10.%' IDENTIFIED BY '你的MySQL密码';
FLUSH PRIVILEGES;
#docker compose up -d
docker exec -it alert_php bash
# 容器内安装mysql客户端测试连通
apt update && apt install -y mariadb-client
# 测试连接
mysql -h10.150.117.190 -uroot -p