[MySQL][connection] Varbase Updater error

Created on 17 July 2020, over 4 years ago
Updated 22 January 2023, almost 2 years ago

Every time I run varbase-updater via ./bin/update-varbase.sh I got this error when it comes to creating a backup snapshot before starting the update process.

mysqldump: Got error: 2005: Unknown MySQL server host 'database' (0) when trying to connect
Database dump failed [error]
Error in creating a backup, exiting update process! Please check /Users/rakera/Sites/lando/MICTTD/.update-error-log for more info.

The content of the .update-error-log is:
mysqldump: Got error: 2005: Unknown MySQL server host 'database' (0) when trying to connect
Database dump failed [error]

The credentials used are drupal8 for for database, password and user. The hostname is database. Everything as in the default.

Can anyone provide hint to resolve the issue.?

Thanks.

💬 Support request
Status

Closed: outdated

Version

6.6

Component

Updater

Created by

🇰🇮Kiribati kanaan.ngutu Tarawa

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024