Last updated: · By Asael Dreyer
Short answer: Cloudways doesn’t come with phpMyAdmin preinstalled. Instead it has a built-in Database Manager, which opens with one click from the application’s Access Details and suits databases up to about 200MB. For larger databases you connect through an SSH tunnel with MySQL Workbench, from the command line (mysql or WP-CLI), or through a remote connection from an IP address you’ve whitelisted. And if you’re used to phpMyAdmin, you can install it yourself in a separate PHP application.
⏱ Time: 5 minutes to get access, 10–30 minutes for an import or export · Difficulty: easy (Database Manager) to intermediate (SSH and remote connection) · Last checked against the official docs: 6 Nov 2026
What a database is, and how it’s set up on Cloudways
Before the buttons, a few concepts that will help you understand what you’re doing and why.
A database is where your site stores everything that changes: posts, pages, users, store orders and settings. WordPress’s files (theme, plugins, images) sit in folders on the server, but the content itself lives in the database, split into tables.
MySQL and MariaDB are two programs that manage databases like this. MariaDB started as a fork of MySQL by its original developers, so the commands, tools and structure are almost identical. As far as WordPress and WooCommerce are concerned, both work.
Cloudways has a few rules worth knowing up front:
- Every application has its own database. When you install a site, a database is created for it with a unique username and password. The application’s folder name on the server is the same as the database name.
- The database engine is set at the server level, when the server is created. A server runs either MariaDB or MySQL 8.4, never both.
- There’s no root access to the server. Most database settings are changed from the admin panel, not from a configuration file.
- Remote connections are blocked by default. To connect from another computer you need to whitelist its IP address, or use an SSH tunnel.
- According to the official docs (April 2026), Cloudways supports only relational databases. MongoDB and other NoSQL databases aren’t installed on the server, but you can connect an external managed service to them.
MariaDB 10.11 or MySQL 8.4: which should you choose?
As of November 2026, Cloudways offers two database engines on all cloud providers: MariaDB 10.11, the default on new servers (marked Recommended in the panel), and MySQL 8.4, a long-term support (LTS) release. You choose the engine on the server setup screen, under Select Your Database, before you pick the server size. According to the official docs (2 November 2026), this choice is permanent.

| Topic | MariaDB 10.11 | MySQL 8.4 |
|---|---|---|
| Status on Cloudways | Default | Alternative, chosen at server setup |
| Who develops it | Community, open development | Oracle |
| Default authentication | mysql_native_password | caching_sha2_password |
| SQL mode | More permissive | Stricter |
| JSON | Stored as LONGTEXT | Built-in data type |
| When to choose it | Regular WordPress, a site already running well on MariaDB | An application or plugin that explicitly requires MySQL, or a team that only tests against MySQL |
My recommendation is simple: for a regular WordPress or WooCommerce site, stay on MariaDB. Choose MySQL 8.4 only if you have a defined requirement, such as a Laravel application that was tested against MySQL, or a third-party tool that only works with it.
The important limitation: you can’t switch engines on an existing server, not even when restoring a deleted server, and you can’t mix two engines on one server. A new application you add to an existing server also uses the server’s engine, with no option to choose. If your server is on MariaDB and you want MySQL 8.4, you need to set up a new server with MySQL and move the site to it. Before a move like that, test the site on a staging environment, because MySQL’s strict SQL mode can break old queries.
Upgrading the version within the same engine
A version upgrade (without switching engines) is possible. You do it on the server, under Settings & Packages and then the Packages tab, on the database card (the Modify button). According to the docs, servers created after 9 April 2025 run on Debian 12 with MariaDB 10.11.
| Your version | You can upgrade to |
|---|---|
| MariaDB 10.5 | 10.6 and above |
| MariaDB 10.6 | 10.11 and above |
| MariaDB 10.11 | 11.4 and above |
| MariaDB 11.4 | The next version, once it’s available on the platform |
| MySQL 8.4 | Future MySQL versions, once they’re available |
You can’t go back to an older MariaDB version after upgrading. So back up the server first, and upgrade during quiet hours.
How do you access the database? Four ways
This table helps you pick the right way based on database size, the task and how comfortable you are.
| Method | Best for | Database size | Flexible | Autonomous |
|---|---|---|---|---|
| Database Manager (in the browser) | Quick edits, changing a value in a table, small imports | Up to about 200MB | Yes | Yes |
| SSH + command line (mysql, mysqldump, WP-CLI) | Large imports and exports, automation | No practical limit | Yes | Yes (SSH) |
| MySQL Workbench through an SSH tunnel | Comfortable graphical work from your own computer | Large | Yes | Yes |
| Direct remote connection (whitelisted IP) | Connecting from another server, BI tools, integrations | Large | Yes | No |
| phpMyAdmin (self-install) | Anyone used to that interface | Same as Database Manager | Yes | Not documented |
Rule of thumb: up to 200MB, work in the browser. Above that, switch to the command line or Workbench, so the browser doesn’t hang in the middle of an import.
Where to find your database details
Every method needs the same three details: the database name, a username and a password.
- In the admin panel, click Flexible in the side menu, and on the screen that opens, the Servers tab. Choose the server.
- Click the globe icon (WWW) and choose the application.
- In the application’s left menu, click Access Details.
- In the MySQL Access area you’ll see the DB Name, Username and Password. For a remote connection you’ll also need the server’s public IP address, which is in the server’s Master Credentials.

On Autonomous the path is different: Cloudways Autonomous then My Applications, choose an application, then Manage Access and the Database tab.
Database Manager: quick access from the browser
This is the tool most site owners need. It lets you view tables, edit rows, run queries, and import and export, without installing anything.
- Open the application’s Access Details (see the previous section).
- Click Launch Database Manager. The tool opens in a new tab, so allow pop-ups for the panel if your browser blocks them.
- If your browser shows a certificate security warning, that’s expected: the tool uses a self-signed certificate. Click Advanced and then the option to continue to the site. Only do this for the address that was opened from the panel.
- Database Manager opens, already connected to the application’s database.
On Autonomous there’s an extra option in the Database tab: Password Protection, which adds a username and password before you get into the tool. It’s worth turning on if several people work on the account.
Importing a database through Database Manager
- Open the application’s Database Manager.
- Click Import, below the database drop-down list.
- Click Choose Files and select the .sql (or .sql.gz) file from your computer.
- Click Execute and wait. An import of a few dozen megabytes can take a few minutes.
If the browser times out partway through, don’t keep retrying. Switch to importing over SSH (below), which is faster and has no browser time limit.
Exporting a database through Database Manager
- Open Database Manager and click Export.
- By default all tables are selected. Choose the output mode: Open shows the content in a new tab, Save downloads a .sql file (recommended when the format is SQL), and Gzip downloads a compressed file.
- Click Export and the file downloads to your computer.
A tip for sites with non-English content: if, after an import, the text on the site shows up as question marks or gibberish, the file was probably saved in an encoding other than UTF-8, or the encoding got corrupted during manual editing. A collation error during import or migration is a different problem; see the collation error with utf8mb3 and uca1400. Open the file in an editor like VS Code, make sure it’s saved as UTF-8, and import again into a clean database. Don’t edit large dump files in Windows Notepad.
How to install phpMyAdmin on Cloudways
phpMyAdmin is the interface most people know from shared hosting and cPanel. On Cloudways it isn’t installed, but the official docs explain how to install it, and suggest putting it in a separate PHP Stack application on the same server, so it doesn’t mix with your site’s files.
- Add a new PHP (Custom PHP) application to the server, following the guide to setting up servers and sites.
- Connect over SSH to the new application and go to its site folder:
cd applications/APP_FOLDER/public_html
- Check the current version on phpmyadmin.net and download it (replace the version number):
wget https://files.phpmyadmin.net/phpMyAdmin/X.Y.Z/phpMyAdmin-X.Y.Z-english.zip
unzip phpMyAdmin-X.Y.Z-english.zip
mv phpMyAdmin-X.Y.Z-english phpmyadmin
- Browse to the application’s address with
/phpmyadminat the end, and log in with the username and password of the database you want to reach.
The phpMyAdmin you installed only sees databases on the same server. For another server you need a separate installation.
Security: a phpmyadmin address is a well-known target for bots. Restrict access to it, for example with password protection or an IP block through Web Rules and htaccess, and update the version from time to time. If you don’t really need phpMyAdmin, the built-in Database Manager is safer because it has no permanent public address.
Importing and exporting over SSH: the way for large databases
The command line is the most reliable way to work with databases over 200MB. You need an SSH connection, so if you haven’t connected yet, go through the guide to connecting over SSH first.
Importing and exporting with mysql and mysqldump
To import, first upload the .sql file to the server over SFTP (with FileZilla or the file manager). Put it in the application’s private_html folder, not in public_html, because a file in the public folder can be downloaded from a browser. Then run:
mysql -u DB_USERNAME -p DB_NAME < /home/master/applications/APP_FOLDER/private_html/backup.sql
Replace DB_USERNAME and DB_NAME with the details from MySQL Access. It will ask for a password. It isn’t displayed as you type, and that’s normal. A successful import prints no message; you just return to the command line.
To export:
mysqldump -u DB_USERNAME -p DB_NAME > DB_NAME.sql
The file is created in the folder you’re in (check with ls). Download it over SFTP and delete it from the server when you’re done. Note that the server’s disk cleanup tool (Settings & Packages, then Optimization) includes an option that deletes the entire contents of private_html in all applications, so it’s not a place for permanent storage.
Importing and exporting with WP-CLI (WordPress only)
WP-CLI comes preinstalled on every Cloudways server. Its advantage: it reads the connection details from wp-config.php, so you don’t have to type a username and password. Run it from the folder where wp-config.php is:
cd applications/APP_FOLDER/public_html
wp db export backup.sql
wp db import backup.sql
Without a file name, wp db export creates a file whose name includes the database name, the date and a random suffix. You’ll find more useful commands in the guide to WP-CLI on Cloudways.
Splitting a large dump into tables
Sometimes you need a separate file for each table: when you move a huge database in pieces, when you want to restore only the orders table, or when different developers work on different tables. The official docs give commands for this. The version here is adjusted to use plain quotes, and doesn’t leave the password in the command history or in the server’s process list:
cd /home/master/applications/APP_FOLDER/private_html
mkdir dbsplit && cd dbsplit
read -rs -p "DB password: " MYSQL_PWD; echo; export MYSQL_PWD
mysql -u DB_USERNAME -N -B -e 'SHOW TABLES' DB_NAME | while read -r T; do
echo "$T"
mysqldump -u DB_USERNAME DB_NAME "$T" | gzip -c > "DB_NAME_${T}.sql.gz"
done
unset MYSQL_PWD
When you’re done, download the files to your computer and delete the dbsplit folder from the server.
If you already have one large dump file and want to split it, this command creates a file for each table based on the CREATE TABLE lines:
awk 'BEGIN{out="comments.sql"} /^CREATE TABLE/{close(out); out=substr($3,2,length($3)-2)".sql"} {print >> out}' backup.sql
Connecting with MySQL Workbench through an SSH tunnel
MySQL Workbench is MySQL’s free tool for Windows, Mac and Linux, and the official docs recommend it for databases over 200MB. The connection runs inside encrypted SSH, so you don’t need to whitelist an IP.
- Download and install MySQL Workbench from mysql.com.
- Gather your details: SSH details (the server’s Master Credentials, or the application’s details if you’re a team member), and the MySQL details from Access Details.
- In Workbench, click to add a new connection (New Connection) and fill in:
| Field | What to enter |
|---|---|
| Connection Method | Standard TCP/IP over SSH |
| SSH Hostname | The server’s IP address, with :22 at the end |
| SSH Username / Password | Your SSH details |
| MySQL Hostname | 127.0.0.1 |
| MySQL Server Port | 3306 |
| Username / Password | The application’s MySQL Access details |
- Click OK, then double-click the new connection to connect.
The same principle works with HeidiSQL, DBeaver, TablePlus and the like: an SSH tunnel to the server, and inside it a connection to 127.0.0.1 on port 3306.
How to connect directly to MySQL remotely (Remote MySQL)
A direct remote connection suits cases where another system needs to talk to the database all the time: a separate application server, a reporting tool or a sync script. The server blocks this by default, so you whitelist an IP first. According to the docs, the connection itself is SSL-encrypted. The option is documented for Flexible only.
Step 1: whitelist the IP address
- In the panel click Flexible in the side menu, and on the screen that opens, the Servers tab. Choose the server.
- In the left menu click Security and then Shell Access.
- Go to the MySQL tab.
- Type the IP address (or a CIDR range) in the Add IP to Whitelist field and click Add. Repeat for each address.
- Click Save Changes.

Step 2: connect from the client
In your MySQL tool, create a regular connection (not SSH): in Hostname enter the server’s IP address, port 3306, and the username and password from MySQL Access. Click Test Connection to make sure it works.
A note on home and office connections: most home and office connections from internet providers have a dynamic IP address that changes from time to time. If you whitelist an address like that, the connection will stop working one day for no obvious reason. For working from a personal computer, an SSH tunnel is the better choice. A direct connection suits servers with a fixed IP better.
Can you have more than one database per application?
Each application gets one database. If you need two databases for the same site, for example a custom PHP application connected to two sources, the solution in the docs is to add an empty PHP application to the server and use its database:
- Add a new, empty PHP application to the server.
- In its Access Details, copy the DB Name, Username and Password.
- Import the second database into it (through Database Manager or SSH).
- In the main application’s configuration file, set up the second connection with those details.
- Never delete this PHP application. It’s the one that holds the database.
Cloudways notes that this solution isn’t fully supported: when restoring from a backup you need to restore all the applications involved, and cloning may not work properly. A regular WordPress site almost never needs this.
Server-level MySQL settings and restarting the service
Most database settings are on the server, under Settings & Packages and then Advanced, in the MySQL area. The full details are in the guide to server settings.

| Setting | What it does | When to touch it |
|---|---|---|
| Timezone | MySQL’s time zone | When reports or scheduled tasks need to run on your local time |
| Encoding | The default encoding | Usually not needed: WordPress sets the encoding for its tables itself |
| Max Connections Limit | The number of simultaneous connections (default 150) | When a busy server returns “Too many connections” |
| Buffer Pool Size | Memory for caching tables and indexes | On a large store with a lot of free RAM |
| Lock Wait Timeout | How long a transaction waits for a locked resource | For locking problems on busy stores |
| Wait Timeout | When to disconnect a connection that isn’t doing anything | When idle connections pile up and use resources |
If the database stops responding, the site shows “Error establishing a database connection”, or a big change gets stuck, you can restart just the service rather than the whole server: on the server click Manage Services, then Restart on the MariaDB or MySQL row.
The code BFCM802 takes 80% off your bill for the first two months (up to $200 off per month), including unlimited free site migrations. New customers only, and only until the offer ends.
The offer ends on December 4, 2026 at 23:59 (UTC+2).
Start with a free trial, no credit card. Enter the code at checkout and check that it shows up.
After Black Friday: 30% off for 3 months with the code ASAEL. On a large server (above about $444 a month) ASAEL already saves more today. BFCM802 vs. ASAEL calculator
Start a free trial server, no credit card. When you move to a paid plan, the code ASAEL takes 30% off your bill for the first three months.
The link fills in the code on the signup form. Just make sure it shows up.
Common mistakes and how to fix them
An import through the browser hangs or fails: the file is too big for Database Manager. Import over SSH with mysql or wp db import, which have no browser time limit.
Database Manager doesn’t open: your browser is blocking the new tab. Allow pop-ups for the Cloudways panel and try again.
“Access denied for user”: the username or password is wrong, or you’re using your SSH details instead of the MySQL ones. Copy them again from MySQL Access, without trailing spaces.
A remote connection times out: your IP address isn’t on the list, has changed, or you didn’t click Save Changes. Check your current IP, or switch to an SSH tunnel. If an SSH tunnel from a MySQL tool doesn’t work either, the docs note that you may need to ask support to enable port forwarding.
After an import the site redirects to the old domain: the imported database contains the previous site’s address. In WordPress you replace them with wp search-replace (run it with --dry-run first).
You left a .sql file in public_html: anyone who guesses the name can download your whole database, including user details. Delete it right away, and next time work in private_html.
You want to switch from MariaDB to MySQL “with one click”: there’s no such option. You need a new server with MySQL 8.4 and to move the site to it.
FAQ
It isn’t preinstalled. There’s a built-in Database Manager that does most of what phpMyAdmin does: browsing tables, editing, queries, import and export. If you prefer phpMyAdmin, you can install it yourself in a separate PHP application on the same server.
Cloudways recommends Database Manager for databases up to about 200MB. Above that the browser may time out, and it’s better to import over SSH with mysql or WP-CLI, or to work with MySQL Workbench.
No. The engine is set when the server is created and doesn’t change afterwards, not even on restore. To switch, set up a new server with MySQL 8.4, move the site to it, and test it on a staging environment first.
In the application, under Access Details, in the MySQL Access area. The database name is the same as the application’s folder name on the server. In WordPress the same details also appear in the wp-config.php file.
No. As of 2026, Cloudways supports only MariaDB and MySQL on the server. You can connect your application to an external managed MongoDB service.
Almost always an encoding problem in the dump file. Make sure the file is saved as UTF-8, import it again into a clean database, and don’t edit dump files in an editor that changes the encoding.
Related guides
- Server settings and services on Cloudways: packages, PHP-FPM and maintenance
- WP-CLI on Cloudways: useful commands for managing WordPress
- Web Rules, htaccess and robots.txt on Cloudways
- How to use the file manager on Cloudways
- Connecting to your server over SSH
- All guides on this topic: Server settings and developer tools
- Why choose managed hosting at all: Cloudways website hosting
Official source: Which Method Should I Use to Access MySQL Databases?, Manage Your Databases Using the Cloudways Database Manager, Introducing MySQL 8.4 on Cloudways, MariaDB 10.11 & MySQL 8.4, Whitelist IP Addresses for Remote MySQL, MySQL Remote Connection, MySQL Workbench, Import and Export Using WP-CLI, How to Install phpMyAdmin, More than One Database, Split MySQL Dumps, What Types of Databases Does Cloudways Support? (Cloudways Knowledge Base). Written and checked by Asael · Updated: 6 Nov 2026
Disclosure: this is an independent site, not the official Cloudways site. Some links on this site are affiliate links: if you sign up through them we earn a commission, at no extra cost to you. Full details