rizzz86
Never underestimate the power of a Keyboard !!
Friday, July 9, 2010
MySQL Import/Export Commands
Importing and Exporting through commands for mysql:
Import File into Mysql:
mysql -ppassword -hlocalhost schemaname < /filePath/file.sql
Export Mysql Schema in File:
mysqldump -uusername -ppassword
database_name > dump.sql
mysqldump -uusername -ppassword
-no-data database_name > dump.sql
rizzz86
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment