更新 READM.txt
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user