Giter Club home page Giter Club logo

Comments (5)

deitch avatar deitch commented on August 11, 2024 1

That is one step forward then. Let's close out this issue and open a new one on the Couldn't execute...

Run it in DEBUG mode and paste the output.

Additionally after switching images I had to add user: "0" to backup image.

That isn't a bug, it is by design. A database backup tool should not run as UID 0. If you need it, there could very well be a reason, but we don't want it like that as default.

from mysql-backup.

Kusig avatar Kusig commented on August 11, 2024

I have tried with the following option as well without success:

 - MYSQLDUMP_OPTS="--lock-tables=false"

That's how it is documented I think.

debug output is: mysqldump: unknown variable 'OPTS="--lock-tables=false"'

Could you show a working example or give any hints what might be wrong?

from mysql-backup.

deitch avatar deitch commented on August 11, 2024

Are you using an out of date version? This all was moved over to databack/mysql-backup a while back, yet your compose file references deitch/mysql-backup. Try that. If it doesn't work, turn on DEBUG mode and paste the output (or, if too big, a gist).

To preempt the question, I have wanted docker hub to have a "re-parent" (i.e. redirect) for a long time. It is my hope that I will get it at some point...

from mysql-backup.

elderapo avatar elderapo commented on August 11, 2024

After switching to databack/mysql-backup the old error seems to be gone.

However in the logs I can see mysqldump: Couldn't execute 'SHOW PACKAGE STATUS WHERE Db = 'test'': You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'PACKAGE STATUS WHERE Db = 'test'' at line 1 (1064).

Additionally after switching images I had to add user: "0" to backup image.

from mysql-backup.

Kusig avatar Kusig commented on August 11, 2024

Are you using an out of date version? This all was moved over to databack/mysql-backup a while back, yet your compose file references deitch/mysql-backup. Try that. If it doesn't work, turn on DEBUG mode and paste the output (or, if too big, a gist).

To preempt the question, I have wanted docker hub to have a "re-parent" (i.e. redirect) for a long time. It is my hope that I will get it at some point...

Thanks for the quick reply. Moving to the newest release resolved it in that way that the databases are now backuped anyway even if the error messages are still thrown.

from mysql-backup.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.