With phpMyAdmin you can save a database as an SQL file or import an existing SQL file, for example when moving a website.
Export a database
- Log in at https://cpanel.hoston.ch and click phpMyAdmin in the Databases section.
- Select the database on the left.
- Click Export at the top.
- Leave the method set to Quick and the format to SQL, then click Export or Go.
- The SQL file is downloaded to your computer.
To save only certain tables, choose Custom and select the tables you need.
Import a database
- If needed, first create an empty database (see "Create a MySQL database and user").
- Open phpMyAdmin and select the target database on the left.
- Click Import at the top.
- Under File to import, choose the SQL file (.zip or .gz also work).
- Click Import or Go at the bottom and wait for the success message.
Note: An import overwrites tables with the same name. Back up the target database first. If the file is too large to upload, compress it or open a ticket in the Client Area.