If you need to import a large MySQL database dump, phpMyAdmin uploads can fail due to browser and PHP limits. On GARMTECH hosting, the most reliable method is importing via SSH using the mysql command.
.sql or .sql.gz) to your hosting space.You can upload the file using:
For very large files, uploading a compressed dump (.sql.gz) is usually faster.
Use the server hostname from My.GARMTECH and your hosting system user (shown in Plesk under Hosting Settings).
ssh USERNAME@SERVER_HOSTNAME
If you are unsure what hostname to use, open your service details in My.GARMTECH and look for Server Hostname.
Go to the folder where you uploaded the dump, for example:
cd httpdocs
mysql -u DBUSER -p DBNAME < backup.sql
gunzip < backup.sql.gz | mysql -u DBUSER -p DBNAME
When prompted, enter the database user password.
mysql -u DBUSER -p -e "SHOW TABLES;" DBNAME
ls -lah to list files and confirm the dump filename.wp-config.php, CMS settings, etc.) if database name/user/password changed.