更新 READM.txt
This commit is contained in:
@@ -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;'"
|
||||
测试容器连接数据库
|
||||
|
||||
Reference in New Issue
Block a user