I used the following image databack/mysql-backup:51c9ce6e97a5b864bef95767c707896b95a7916b.
I omitted DB_PORT: 3306 row in my compose.yaml file and got the following error:
mysql_backup | time="2024-04-07T18:03:13Z" level=debug msg="starting dump"
mysql_backup | time="2024-04-07T18:03:13Z" level=info msg="beginning dump 2024-04-07T18:03:13Z"
mysql_backup | Error: error running command: error running command: error running dump: failed to list database schemas: could not get schemas: dial tcp 172.20.0.3:0: connect: connection refused
mysql_backup | time="2024-04-07T18:03:13Z" level=fatal msg="error running command: error running command: error running dump: failed to list database schemas: could not get schemas: dial tcp 172.20.0.3:0: connect: connection refused"
mysql_backup exited with code 1
I used the following image
databack/mysql-backup:51c9ce6e97a5b864bef95767c707896b95a7916b
. I omittedDB_PORT: 3306
row in my compose.yaml file and got the following error:My compose.yaml file is: