Mysql Plugin - mysqldump not working

  • Hi There
    I have a few databases on my OMV using mysql. I was trying to make a backup using mysqldump but i can´t.


    So, the simple command is this one


    mysqldump wordpress > /tmp/wordpress.sql


    But when i do that it put me on a Arrow sign like this one


    ->


    And i cant do anything else. I check the command and in everywhere it shows like this one.


    Can anyone help me, what i´m doing wrong?


    Best Regards to everyone.

    • Offizieller Beitrag

    Try mysqldump -u root -p wordpress > wordpress.sql

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    What is the output of: mysql -u root -p

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    Well, that is right. What is the output of the following:


    ls -al /usr/bin/mysqldump
    mysqldump

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    What about executing mysqldump without any flags or commands?

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    There is something corrupt with that binary then. What kind of media is OMV installed on?

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    If the flashmemory isn't installed, I'm guessing it is failing. It might be failing even if it is installed and wasn't a new drive. If that is the case, you need a new drive and a fresh install.

  • So what i did upgrade the OMV to version 2.0 and try again. Same error.


    What are your output when running mysqldump?


    Can I reinstall the Mysql plugin does it resolve?

    • Offizieller Beitrag

    Here is the output of mysqldump:


    Code
    $ mysqldump
    Usage: mysqldump [OPTIONS] database [tables]
    OR     mysqldump [OPTIONS] --databases [OPTIONS] DB1 [DB2 DB3...]
    OR     mysqldump [OPTIONS] --all-databases [OPTIONS]
    For more options, use mysqldump --help


    I think you missed something from my previous comment. I seriously think your usb device is failing. There is nothing you can do to fix it. You need a new one and reinstall OMV and plugins. They fail slowly and can affect one thing at a time but what do I know...

  • Thanks everyone that reply to my thread. Especially to ryecoaaron that helped me a lot.


    I´ve resolved the problem, removing MySQL plugin and reinstall it.


    Now I´ve mysqldump fully operational.


    Best regards and thank you

    • Offizieller Beitrag

    You can try reinstalling mysql but I still think something is wrong with the media even if it is an ssd.


    apt-get install --reinstall mysql-server

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!