Showing posts with label Rails DB Import. Show all posts
Showing posts with label Rails DB Import. Show all posts

Thursday, 4 April 2013

RAILS DATABASE IMPORT THROUGH CONSOLE

RAILS DATABASE IMPORT
$ mysql -u root -p db_name < file_name.sql
like
mysql -u root -p xxx_development < data_migrate_xxx.sql