stilleshan / dockerfiles

不定期收集,整理和编写常用优秀软件和服务的 Dockerfile 文件. https://docker.ioiox.com
https://hub.docker.com/u/stilleshan
GNU General Public License v3.0
1.04k stars 265 forks source link

独角数卡 docker安装提示无法连接数据库 #15

Closed zhucaidan closed 1 year ago

zhucaidan commented 1 year ago

机器是甲骨文ARM,系统Debian 11,宝塔面板

独角数卡 docker-compose安装提示无法连接数据库

数据库配置错误 :SQLSTATE[HY000] [2002] Connection refused (SQL: select 1 limit 1)

image

image

image

stilleshan commented 1 year ago

仔细看教程图 地址是 db 不是 127