-
-
Save sidneydemoraes/6f662ccd7fd87db31592158738f95be9 to your computer and use it in GitHub Desktop.
#!/bin/sh | |
# File location: /usr/local/bin/mysqldump | |
# File permission: +x | |
docker run --rm mysql:latest /usr/bin/mysqldump |
@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 the mysqldump
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.
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!
@sidneydemoraes did you have a chance to check it out?