How to import a SQL file in MySQL from command line

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

No hay comentarios: