<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[AdminsForum - CloudPanel Databases & phpMyAdmin Guides]]></title>
		<link>https://adminsforum.com/</link>
		<description><![CDATA[AdminsForum - https://adminsforum.com]]></description>
		<pubDate>Thu, 15 Oct 2026 07:04:46 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[CloudPanel Databases: Create a Database, Users and Use phpMyAdmin]]></title>
			<link>https://adminsforum.com/Thread-guide-cloudpanel-databases-create-a-database-users-and-use-phpmyadmin</link>
			<pubDate>Wed, 14 Oct 2026 21:09:13 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://adminsforum.com/member.php?action=profile&uid=1">JAY</a>]]></dc:creator>
			<guid isPermaLink="false">https://adminsforum.com/Thread-guide-cloudpanel-databases-create-a-database-users-and-use-phpmyadmin</guid>
			<description><![CDATA[<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">CloudPanel databases: create a database and users, and use phpMyAdmin</span></span><br />
<br />
In CloudPanel, <span style="font-weight: bold;" class="mycode_b">databases belong to a site</span>. This guide shows how to create a database and user, add extra users with limited rights, open phpMyAdmin, handle large imports from the command line, and where CloudPanel keeps automatic database backups. Tested on CloudPanel 2.5.4, Ubuntu 24.04, MySQL 8.4.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 1: Open the site's Databases tab</span></span><br />
Open <span style="font-weight: bold;" class="mycode_b">Sites</span> → <span style="font-weight: bold;" class="mycode_b">Manage</span> → <span style="font-weight: bold;" class="mycode_b">Databases</span>. Our WordPress database is already listed, created by the one-click installer. Note the connection details at the top: host <span style="font-weight: bold;" class="mycode_b">127.0.0.1</span>, port <span style="font-weight: bold;" class="mycode_b">3306</span>. Your app uses these.<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=298" target="_blank" title="">g4-01-ae34.jpg</a> (Size: 103.25 KB / Downloads: 6)
<!-- end: postbit_attachments_attachment --><br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 2: Add a database</span></span><br />
Click <span style="font-weight: bold;" class="mycode_b">Add Database</span> and enter a database name, a database user name and a password. CloudPanel creates both and grants the user access in one step.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 3: Add extra database users</span></span><br />
The <span style="font-weight: bold;" class="mycode_b">Database Users</span> list shows every user, the database it can reach and its permissions. Use <span style="font-weight: bold;" class="mycode_b">Add Database User</span> for extra users, with <span style="font-weight: bold;" class="mycode_b">Read and Write</span> or <span style="font-weight: bold;" class="mycode_b">Read Only</span> access. A read-only user is ideal for reporting or backup tools, which then can never change your data.<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=299" target="_blank" title="">g4-02-ae36.jpg</a> (Size: 104.64 KB / Downloads: 6)
<!-- end: postbit_attachments_attachment --><br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 4: Open phpMyAdmin with one click</span></span><br />
Click <span style="font-weight: bold;" class="mycode_b">Manage</span> next to a database user and phpMyAdmin opens already logged in as that user, with no extra password to type. Browse tables, run SQL, and import or export from the tabs at the top.<br />
<br />
On the right, phpMyAdmin shows the server. On our install it's <span style="font-weight: bold;" class="mycode_b">Percona Server 8.4</span>, a drop-in MySQL build, chosen when we ran the installer.<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=300" target="_blank" title="">g4-03-ae38.jpg</a> (Size: 178.15 KB / Downloads: 6)
<!-- end: postbit_attachments_attachment --><br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 5: Big imports and exports with clpctl</span></span><br />
Large databases can time out in the browser. As root, use clpctl instead:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code># export a compressed dump
clpctl db:export --databaseName=my-database --file=/tmp/dump.sql.gz

# import a dump
clpctl db:import --databaseName=my-database --file=/tmp/dump.sql.gz

# create a database and user from the shell
clpctl db:add --domainName=example.com --databaseName=my-database --databaseUserName=myuser --databaseUserPassword='a-strong-password'

# show the database root (master) login
clpctl db:show:master-credentials</code></div></div><br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Automatic database backups</span></span><br />
CloudPanel also dumps every database automatically each night (at 03:15 on our server) into the <span style="font-weight: bold;" class="mycode_b">backups</span> folder in the site user's home, and keeps 7 days of them. It's a useful safety net, but it's on the same server, so also set up <span style="font-weight: bold;" class="mycode_b">remote backups</span> in the Admin Area.<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=301" target="_blank" title="">g4-04-ae45.jpg</a> (Size: 132.72 KB / Downloads: 6)
<!-- end: postbit_attachments_attachment --><br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Tips</span></span><ul class="mycode_list"><li>Give each app its own database user, and use read-only users wherever writing isn't needed.<br />
</li>
<li>Never expose port 3306 in the firewall; apps on the same server connect via 127.0.0.1.<br />
</li>
<li>Keep the master credentials for emergencies only.<br />
</li>
</ul>
<br />
Questions? Ask in <span style="font-weight: bold;" class="mycode_b">CloudPanel Databases &amp; phpMyAdmin Support</span>.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">CloudPanel guide series</span></span><br />
<ol type="1" class="mycode_list"><li><a href="https://adminsforum.com/Thread-guide-what-is-cloudpanel-complete-overview-of-the-free-hosting-control-panel-2026" target="_blank" rel="noopener" class="mycode_url">What is CloudPanel? Complete overview</a><br />
</li>
<li><a href="https://adminsforum.com/Thread-guide-cloudpanel-system-requirements-2026-os-cpu-ram-disk-and-ports" target="_blank" rel="noopener" class="mycode_url">CloudPanel system requirements</a><br />
</li>
<li><a href="https://adminsforum.com/Thread-guide-cloudpanel-features-the-complete-list-2026" target="_blank" rel="noopener" class="mycode_url">CloudPanel features: the complete list</a><br />
</li>
<li><a href="https://adminsforum.com/Thread-guide-how-to-create-a-php-site-in-cloudpanel-step-by-step-2026" target="_blank" rel="noopener" class="mycode_url">How to create a PHP site</a><br />
</li>
<li><a href="https://adminsforum.com/Thread-guide-how-to-install-a-free-let-s-encrypt-ssl-certificate-in-cloudpanel" target="_blank" rel="noopener" class="mycode_url">How to install free Let's Encrypt SSL</a><br />
</li>
<li><a href="https://adminsforum.com/Thread-guide-how-to-install-wordpress-in-cloudpanel-one-click-setup-guide" target="_blank" rel="noopener" class="mycode_url">How to install WordPress (one-click)</a><br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Databases, users and phpMyAdmin</span> (you are here)<br />
</li>
<li><a href="https://adminsforum.com/Thread-guide-cloudpanel-ssh-sftp-ftp-and-file-manager-how-to-upload-files" target="_blank" rel="noopener" class="mycode_url">SSH, SFTP, FTP and File Manager</a><br />
</li>
<li><a href="https://adminsforum.com/Thread-guide-cloudpanel-cron-jobs-logs-and-varnish-cache-complete-guide" target="_blank" rel="noopener" class="mycode_url">Cron jobs, logs and Varnish Cache</a><br />
</li>
<li><a href="https://adminsforum.com/Thread-guide-cloudpanel-backups-and-security-remote-backups-firewall-and-basic-auth" target="_blank" rel="noopener" class="mycode_url">Backups, firewall and Basic Auth</a><br />
</li>
</ol>
]]></description>
			<content:encoded><![CDATA[<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">CloudPanel databases: create a database and users, and use phpMyAdmin</span></span><br />
<br />
In CloudPanel, <span style="font-weight: bold;" class="mycode_b">databases belong to a site</span>. This guide shows how to create a database and user, add extra users with limited rights, open phpMyAdmin, handle large imports from the command line, and where CloudPanel keeps automatic database backups. Tested on CloudPanel 2.5.4, Ubuntu 24.04, MySQL 8.4.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 1: Open the site's Databases tab</span></span><br />
Open <span style="font-weight: bold;" class="mycode_b">Sites</span> → <span style="font-weight: bold;" class="mycode_b">Manage</span> → <span style="font-weight: bold;" class="mycode_b">Databases</span>. Our WordPress database is already listed, created by the one-click installer. Note the connection details at the top: host <span style="font-weight: bold;" class="mycode_b">127.0.0.1</span>, port <span style="font-weight: bold;" class="mycode_b">3306</span>. Your app uses these.<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=298" target="_blank" title="">g4-01-ae34.jpg</a> (Size: 103.25 KB / Downloads: 6)
<!-- end: postbit_attachments_attachment --><br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 2: Add a database</span></span><br />
Click <span style="font-weight: bold;" class="mycode_b">Add Database</span> and enter a database name, a database user name and a password. CloudPanel creates both and grants the user access in one step.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 3: Add extra database users</span></span><br />
The <span style="font-weight: bold;" class="mycode_b">Database Users</span> list shows every user, the database it can reach and its permissions. Use <span style="font-weight: bold;" class="mycode_b">Add Database User</span> for extra users, with <span style="font-weight: bold;" class="mycode_b">Read and Write</span> or <span style="font-weight: bold;" class="mycode_b">Read Only</span> access. A read-only user is ideal for reporting or backup tools, which then can never change your data.<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=299" target="_blank" title="">g4-02-ae36.jpg</a> (Size: 104.64 KB / Downloads: 6)
<!-- end: postbit_attachments_attachment --><br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 4: Open phpMyAdmin with one click</span></span><br />
Click <span style="font-weight: bold;" class="mycode_b">Manage</span> next to a database user and phpMyAdmin opens already logged in as that user, with no extra password to type. Browse tables, run SQL, and import or export from the tabs at the top.<br />
<br />
On the right, phpMyAdmin shows the server. On our install it's <span style="font-weight: bold;" class="mycode_b">Percona Server 8.4</span>, a drop-in MySQL build, chosen when we ran the installer.<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=300" target="_blank" title="">g4-03-ae38.jpg</a> (Size: 178.15 KB / Downloads: 6)
<!-- end: postbit_attachments_attachment --><br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 5: Big imports and exports with clpctl</span></span><br />
Large databases can time out in the browser. As root, use clpctl instead:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code># export a compressed dump
clpctl db:export --databaseName=my-database --file=/tmp/dump.sql.gz

# import a dump
clpctl db:import --databaseName=my-database --file=/tmp/dump.sql.gz

# create a database and user from the shell
clpctl db:add --domainName=example.com --databaseName=my-database --databaseUserName=myuser --databaseUserPassword='a-strong-password'

# show the database root (master) login
clpctl db:show:master-credentials</code></div></div><br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Automatic database backups</span></span><br />
CloudPanel also dumps every database automatically each night (at 03:15 on our server) into the <span style="font-weight: bold;" class="mycode_b">backups</span> folder in the site user's home, and keeps 7 days of them. It's a useful safety net, but it's on the same server, so also set up <span style="font-weight: bold;" class="mycode_b">remote backups</span> in the Admin Area.<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=301" target="_blank" title="">g4-04-ae45.jpg</a> (Size: 132.72 KB / Downloads: 6)
<!-- end: postbit_attachments_attachment --><br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Tips</span></span><ul class="mycode_list"><li>Give each app its own database user, and use read-only users wherever writing isn't needed.<br />
</li>
<li>Never expose port 3306 in the firewall; apps on the same server connect via 127.0.0.1.<br />
</li>
<li>Keep the master credentials for emergencies only.<br />
</li>
</ul>
<br />
Questions? Ask in <span style="font-weight: bold;" class="mycode_b">CloudPanel Databases &amp; phpMyAdmin Support</span>.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">CloudPanel guide series</span></span><br />
<ol type="1" class="mycode_list"><li><a href="https://adminsforum.com/Thread-guide-what-is-cloudpanel-complete-overview-of-the-free-hosting-control-panel-2026" target="_blank" rel="noopener" class="mycode_url">What is CloudPanel? Complete overview</a><br />
</li>
<li><a href="https://adminsforum.com/Thread-guide-cloudpanel-system-requirements-2026-os-cpu-ram-disk-and-ports" target="_blank" rel="noopener" class="mycode_url">CloudPanel system requirements</a><br />
</li>
<li><a href="https://adminsforum.com/Thread-guide-cloudpanel-features-the-complete-list-2026" target="_blank" rel="noopener" class="mycode_url">CloudPanel features: the complete list</a><br />
</li>
<li><a href="https://adminsforum.com/Thread-guide-how-to-create-a-php-site-in-cloudpanel-step-by-step-2026" target="_blank" rel="noopener" class="mycode_url">How to create a PHP site</a><br />
</li>
<li><a href="https://adminsforum.com/Thread-guide-how-to-install-a-free-let-s-encrypt-ssl-certificate-in-cloudpanel" target="_blank" rel="noopener" class="mycode_url">How to install free Let's Encrypt SSL</a><br />
</li>
<li><a href="https://adminsforum.com/Thread-guide-how-to-install-wordpress-in-cloudpanel-one-click-setup-guide" target="_blank" rel="noopener" class="mycode_url">How to install WordPress (one-click)</a><br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Databases, users and phpMyAdmin</span> (you are here)<br />
</li>
<li><a href="https://adminsforum.com/Thread-guide-cloudpanel-ssh-sftp-ftp-and-file-manager-how-to-upload-files" target="_blank" rel="noopener" class="mycode_url">SSH, SFTP, FTP and File Manager</a><br />
</li>
<li><a href="https://adminsforum.com/Thread-guide-cloudpanel-cron-jobs-logs-and-varnish-cache-complete-guide" target="_blank" rel="noopener" class="mycode_url">Cron jobs, logs and Varnish Cache</a><br />
</li>
<li><a href="https://adminsforum.com/Thread-guide-cloudpanel-backups-and-security-remote-backups-firewall-and-basic-auth" target="_blank" rel="noopener" class="mycode_url">Backups, firewall and Basic Auth</a><br />
</li>
</ol>
]]></content:encoded>
		</item>
	</channel>
</rss>