Firstly make sure that the "empty" database exists. Then import it:
mysql -uUSERNAME -p"PASSWORD" database_name < dump-filename.sqlImport a Gzip compressed database dump file:
zcat database-dump-file.sql.gz | mysql -uroot -ppassword database-name
Keine Kommentare:
Kommentar veröffentlichen