Wonderfall / docker-nextcloud

All-in-one Nextcloud Docker image, based on Alpine Linux. Aims at being simple and hardened.
194 stars 93 forks source link

Cannot connect to Synology's mariaDB database #75

Open zhengfan2014 opened 3 years ago

zhengfan2014 commented 3 years ago

Cannot connect to Synology's mariaDB database

Error while trying to create admin user: Failed to connect to the database: An exception occurred in driver: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name does not resolve

I tried the same sql account password, nextcloud docker in docker.io can connect to Synology's mariadb database normally, but no matter I try to use Synology's ip:3307 or 127.0.0.1:3307 or localhost:3307, it can't connect to yours. docker