Wednesday, November 24, 2010

Import mysql database command line

Have an issue with your mysql database being too large to import through phpmyadmin? You can run this command and import for the command line!


mysql -u username -p -h localhost data-base-name < data.sql

No comments:

Post a Comment