Skip to content

Instantly share code, notes, and snippets.

@sidneydemoraes
Created August 2, 2019 17:20
Show Gist options
  • Save sidneydemoraes/6f662ccd7fd87db31592158738f95be9 to your computer and use it in GitHub Desktop.
Save sidneydemoraes/6f662ccd7fd87db31592158738f95be9 to your computer and use it in GitHub Desktop.
Mysqldump client for DBeaver with Docker (without installing mysql-client)
#!/bin/sh
# File location: /usr/local/bin/mysqldump
# File permission: +x
docker run --rm mysql:latest /usr/bin/mysqldump
@albertopriore
Copy link

That error log you sent is from DBeaver, right?

Yes correct.

Do you run DBeaver as another user?

No I don't but could be that as you said the DBeaver cannot find docker executable.

I tried but I'll give up for now, I'll just use another way with a command outside of DBeaver.

Thanks a lot anyway!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment