Last active
March 6, 2025 02:57
-
-
Save claide/90094a5f2a2fb68d3e804c8eb535a255 to your computer and use it in GitHub Desktop.
Mysql Commands
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
# Import a MySQL database dump into a MySQL database. | |
mysql -u <user_name> -p -P <port_number> -h <host_address> <table_name> < <file_path> | |
Usage: | |
mysql -u johndoe -p -P 3307 -h 0.0.0.0 mydatabase < /Users/johndoe/Downloads/myfile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment