Every site that stores information — WordPress, a store, a PHP system — needs a database. In cPanel, creating one takes less than a minute with the wizard, which sets up the database, user and permissions in a single sequence.
wordpress. Click Next Step.mystore and you typed wordpress, the database is called mystore_wordpress — and that full name is what goes in the configuration. The same applies to the user.
Four pieces of information, always the same:
localhostThe server is localhost because the site and the database run on the same machine. It's only different if you connect from outside — and then you need to allow your IP under Databases → Remote MySQL.
The installer asks for exactly these four fields. If you're editing wp-config.php by hand:
define('DB_NAME', 'mystore_wordpress');
define('DB_USER', 'mystore_wpuser');
define('DB_PASSWORD', 'your-password-here');
define('DB_HOST', 'localhost');
In the .env file:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=mystore_app
DB_USERNAME=mystore_appuser
DB_PASSWORD=your-password-here
phpMyAdmin is the interface for viewing and editing the database's contents. It's under Databases → phpMyAdmin and opens already signed in.
When migrating a site from another host:
.sql file and click Go.If the file is too big for the upload limit, compress it as .zip or .gz — phpMyAdmin accepts both and the compressed file usually fits. Beyond that, support will import it for you.
Do this before any big update to the site. It's the copy you control — the hosting also keeps a daily automatic backup, but yours is in your hands whenever you need it.
In order of frequency: the database or user name is missing the account prefix; the password has an extra space at the end; or the user wasn't linked to the database. You can check the link under MySQL Databases, in the Current Users section — the user must be listed under the database.
Wrong username or password, or the user exists but has no privileges on that database. Under MySQL Databases → Add User To Database, redo the link checking ALL PRIVILEGES.
It can't be recovered, only changed: under MySQL Databases, in the user list, click Change Password. Remember to update the new password in wp-config.php or .env, or the site will stop working.
1 on Bronze, 5 on Silver (Prata), 10 on Gold (Ouro) and unlimited on Business. Each site installation usually uses one.
Open a ticket at financeiro.redhosting.com.br or contact support on WhatsApp at +55 11 98833-3902.
localhost, because the site and the database run on the same machine. It's only different if you connect from outside, and then you need to allow your IP under Databases → Remote MySQL.