Importing and Exporting Databases
5 articles
How to import a database from the Hostinger dashboard
Upload a .sql or .sql.gz file in the Hostinger dashboard to create and import a new MySQL database.
How to export a database over SSH in Hostinger
Export a database over SSH in Hostinger: gather your database details, connect via SSH, and run mysqldump to create an .sql backup file.
How to import a database over SSH in Hostinger
Import a database over SSH in Hostinger for files over 256 MB: upload the file, connect via SSH, run the mariadb command, and update your config.
How to export a database with phpMyAdmin in Hostinger
Export a database with phpMyAdmin in Hostinger: open your database, click Export, and download an SQL file to back up or move your website.
How to import a database with phpMyAdmin in Hostinger
Import a database with phpMyAdmin in Hostinger: upload an .sql file up to 256 MB and fix common errors like format, size, and permissions.