A MySQL upgrade is done by exporting the existing database, creating a new MySQL 8 database, and importing the exported data into it. Then, update the database details in your application's configuration file.
If you wish, we can perform the upgrade as part of our Premium Services.
For WordPress, the configuration file is wp-config.php.
In CloudPit, open the desired web hosting package via Manage.
On the left, open the Domains section. For the affected domain, you will see the path to the WordPress installation.

Open FTP → Web FTP.
Navigate to the WordPress directory and open the file wp-config.php.


Note the following values:
Open Databases.
For the existing database, click Actions → Open phpMyAdmin.

Export the database in phpMyAdmin as an SQL file.

Create a new database with MySQL 8 in CloudPit.
If possible, use the same password or securely note the new password.

Open the exported SQL file in a text editor.
If the file contains lines like these, replace the old database name with the new database name:
-- Database: `XXXX` -- CREATE DATABASE IF NOT EXISTS `XXXX` DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci; USE `XXXX`;
Then save the SQL file.
Open the new MySQL 8 database in phpMyAdmin.
Import the previously exported and adjusted SQL file.

Open the file wp-config.php again.
Adjust the values for database name, database user, database password, and database server to the new MySQL 8 database.
In CloudPit, the database server for MySQL 8 is:
127.0.0.1:3307

Save the file.
Then test whether your WordPress website works correctly.
In Control Panel, open Domains and then the affected domain.
Open Subdomains. There you will see under Webspace Content the location of the WordPress installation.

Open Webhosting → Web FTP.
Navigate to the WordPress directory and open the file wp-config.php.


Note the following values:
Open Webhosting → Databases.
For the existing database, click Open phpMyAdmin for this database.

Export the database in phpMyAdmin as an SQL file.

Create a new database with MySQL 8 in Control Panel.
If possible, use the same password or securely note the new password.


Open the exported SQL file in a text editor.
If the file contains lines like these, replace the old database name with the new database name:
-- Database: `XXXX` -- CREATE DATABASE IF NOT EXISTS `XXXX` DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci; USE `XXXX`;
Then save the SQL file.
Open the new MySQL 8 database in phpMyAdmin.
Import the previously exported and adjusted SQL file.

Open the file wp-config.php again.
Adjust the values for database name, database user, database password, and database server to the new MySQL 8 database.
In Control Panel, the database server for MySQL 8 is:
mysql80.local:3307

Save the file.
Then test whether your WordPress website works correctly.