Created
August 2, 2019 17:20
-
-
Save sidneydemoraes/6f662ccd7fd87db31592158738f95be9 to your computer and use it in GitHub Desktop.
Mysqldump client for DBeaver with Docker (without installing mysql-client)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# File location: /usr/local/bin/mysqldump | |
# File permission: +x | |
docker run --rm mysql:latest /usr/bin/mysqldump |
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
@albertopriore I took a look at the error message again and now I think I can see the big picture.
That error log you sent is from DBeaver, right? I noticed that there are Java errors there.
In that case it looks like for some reason DBeaver cannot find
docker
executable.Do you run DBeaver as another user?
I'd do this if I were you. Try to run a full
mysqldump
command straight from commandline. If it works (and looks like it should since you were able to see its version), the problem resides in how you run DBeaver and how themysqldump
script was setup.It's been a long time I used this solution so TBH I don't remember if I had to do anything special in DBeaver.