Last active
February 28, 2020 01:08
-
-
Save AdrianAcala/985ec4595f3593c1e4f910d9ef3f56cb to your computer and use it in GitHub Desktop.
Command to execute the contents of a file into a MySQL database
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
mysql -h$MYSQL_HOSTNAME -u$MYSQL_USERNAME -p$MYSQL_PASSWORD < file.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment