-
-
Save riazul701/f2501cbd518f3b874c028526fa29e501 to your computer and use it in GitHub Desktop.
Dbeaver connect to docker database unable to export and import temporary solutions. mysql/postgres
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 | |
docker exec -i mysql /usr/bin/mysql $@ -p2325373912 |
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 | |
docker exec -i mysql /usr/bin/mysqldump $@ -p2325373912 |
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 | |
docker exec -i postgres /usr/local/bin/pg_dump $@ |
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 | |
docker exec -i postgres /usr/local/bin/pg_restore $@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment