How do I create a MySQL database and user? Print

  • 0

  1. Log in to your hosting control panel.
  2. Open MySQL Management (or Databases).
  3. Click Create new database, enter a name and create a database user with a strong password.
  4. Make sure the user has all privileges on the database.

Use these details in your website configuration:

  • Database host: localhost
  • Database name and user: as shown in the panel (often prefixed with your account name)

You can manage the contents of your database with phpMyAdmin, available from your control panel – for example to import or export .sql files.


Was this answer helpful?

« Back