Loading db from mariadb-init
Hello,
I've built an online and remote website with Drupal 8 and I was trying to dump the online database directly into the mariadb-init folder so that, after the Git synchronization, the local site will be loaded directly with the updated website. I was able to "preload" the database with manually downloaded database (using mysqldump) but not with Backup&Migate ones. The problem is that after the Docker Desktop upgrade (working with MAC version, 3.03) I'm not anymore able to load the database, instead, I receive an error saying that "The connection was refused", the complete log error is reporterd below:
OS type macOS
Drupal version 8
Codebase Mounted codebase
Docker for Drupal version 5.4.23
mysqli::real_connect(): php_network_getaddresses: getaddrinfo failed: Name or service not known
mysqli::real_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Name or service not known
I would exclude wrong settings for accessing the database, all the informations in the .env file are correct (and they worked before this problem appeared).
Thank you for your help!