Create a MySQL database
Create MySQL database and user for WordPress, PrestaShop or PHP application on web hosting.
Ready to start your service? Check offers and order online.
View offers and orderCreate a MySQL database
WordPress, PrestaShop and most PHP CMS require a base MySQL or MariaDB. On theweb hosting Anthony IT Solutions, create databases and users from the panel in a few clicks.
Each base is isolated with a dedicated user, good practice of security on shared hosting.
What you need
- Offer web hosting with MySQL
- Panel
- Quota bases available
- Desired base name (auto prefix possible)
Create the database
-
Panel
My Services → Manage → MySQL Databases.
-
New base
Name ex.
wp_prod, prefix account added. -
Charset
utf8mb4_unicode_ci for emojis WordPress.
-
Limit
Max number according to formula.
Create User
-
User
Unique name, strong password (20+ car.)
-
Host
localhostAlmost always on mutualized. -
One user per base
Avoid reusing even use anywhere.
-
Note
Copy IDs to mdp manager.
Assigning Privileges
-
Link user to base
Any privileges on this basis only.
-
No global GRANT
Forbidden on mutualized.
-
Test phpMyAdmin
phpMyAdmin connection.
-
Revoke
Remove user if base deleted.
Configure CMS
-
WordPress
DB_NAME,DB_USER,DB_PASSWORD,DB_HOSTin wp-config. -
PrestaShop
Assistant install or parameters.php.
-
Existing import
import dump SQL.
-
Prefix tables
wp_custom to install.
Maintenance
- Regular backups, safeguards
- Optimize monthly tables
- Watch size, quotas
- Do not publicly expose phpMyAdmin
- **Security**, see detailed procedures.
Troubleshooting
- Access denied, Unbound user or bad mdp.
- Too many connections, Scripts without connection closure.
- Base already exists, Choose another name.
- Quota bases, Upgrade or delete test base.
Frequently Asked Questions
MariaDB or MySQL?
MariaDB compatible MySQL, same procedure.
Several WordPress bases?
One database per site recommended.
Remote MySQL ?
Non standard shared, API/local application.
Max base size ?
Includes global disk quota.
Related guides
See also our web hosting offer and all the procedures on wiki web hosting.