CloudPanel: step 7. Database
In the examples 203.0.113.10 is your server address and my-site.com is your domain. The server address and panel password are in the e-mail with your credentials.
Site → "Databases" tab.
Create a database
- Click "Add Database".
- Database Name: lowercase Latin letters, digits, hyphen. E.g.
my-site-db. Underscore is not allowed. - User Name and password. Put them into the site configuration (wp-config.php, .env).
- Click "Add Database".


Connection from the site: host 127.0.0.1, port 3306, database name, user, password.
phpMyAdmin
The "Manage" button next to the database opens phpMyAdmin. No password needed.

Do not move a database via phpMyAdmin export/import. On large databases the import breaks off. Use the command below.
Import a dump
- Upload the dump (
dump.sqlordump.sql.gz) via SFTP into thetmpfolder of the site user. - Connect via SSH as the site user. Run:
cd ~/tmp
clpctl db:import --databaseName=my-site-db --file=dump.sql.gzExport: clpctl db:export --databaseName=my-site-db --file=dump.sql.gz.
Automatic copies
Every night at 03:15 the panel saves a dump of each database to /home/<site user>/backups/. Kept for 7 days. Copies of the whole server: Backups.