Management and Security of serversHow to Import/Export MySQL Databases with SSHBy Johan Yafi - April 22, 201201252FacebookTwitterPinterestWhatsApp To Import without errors .To export a MySQL database, access your VPS via SSH and run: Code: mysqldump -u username -p database_name > dumpfile.sqlTo import a MySQL Database, run:Code: mysql -u username -p database_name < dumpfile.sql