I think there is a typo/bug in the user part of the database backup command. I think it should be:
docker-compose exec mariadb sh -c 'exec mysqldump --all-databases --add-drop-database -u"root" -p"$MYSQL_ROOT_PASSWORD"' > ./dump.sql
Thanks for pointing this out ;)
Took a while but we got to it! It should be fixed now <3
Thanks! Looks like the same typo is in the mariadb restore command too.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I think there is a typo/bug in the user part of the database backup command. I think it should be:
Thanks for pointing this out ;)
Took a while but we got to it! It should be fixed now <3
Thanks! Looks like the same typo is in the mariadb restore command too.