Most website software (WordPress, Joomla, Laravel, online shops) needs a database. Creating one takes three steps.
1. Create the database
- In AdminBolt, open Databases > Databases.
- Click Create Database, enter a Database Name and click Create.
Your account name is added in front automatically. For example, shop on the account demo becomes demo_shop. Use this full name in your website's settings.
2. Create a database user
- In Database Users, click Create Database User.
- Enter a Username (it gets the same prefix), a Password and Confirm Password.
- Click Create.
3. Give the user access to the database
- In the Databases section, click Edit on the database.
- In Privileged Users, click Edit Privileges on the user's row.
- Tick ALL PRIVILEGES and save.
Connecting your website
In your website's configuration (for WordPress, wp-config.php), enter the full database name, the full username and the password. The database host is normally localhost, because the database runs on the same server as your website.
Connecting from your own computer
Databases only accept connections from the server by default. To connect from somewhere else, add your IP address on the Remote MySQL page first.
If a database name is already taken on the server, AdminBolt refuses it. Choose a different name.