Created
August 5, 2012 15:27
-
-
Save vinitkumar/3265397 to your computer and use it in GitHub Desktop.
Insert a file into a MySQL db
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
~ mysql --local-infile -u username -p database | |
mysql > load data local infile '/home/vicky/a.txt' into table tablename; | |
To see the Data Stored: | |
mysql> select * from Writers; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment