mysql -u $DB_USER -h $MYSQL_HOST -p
mysqldump -u $DB_USER -h $MYSQL_HOST --no-tablespaces -p $B_NAME > dbFull.sql
mysql -u $DB_USER -h $MYSQL_HOST -p"<PASS>" mydb < ~/winhome/Downloads/dbFull.sql
Last active
September 14, 2021 10:48
-
-
Save yogendratamang48/722ba9b3604d15f254389c8865c7dddf to your computer and use it in GitHub Desktop.
MySQL Tools
This file contains 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
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: mysql-tools | |
labels: | |
purpose: mysql-tools | |
spec: | |
containers: | |
- name: test-mysql | |
image: mysql:5.7.34 | |
command: ["/bin/bash"] | |
args: ["-c", "while true; do echo hello; sleep 10;done"] | |
restartPolicy: OnFailure |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment