HostSlim

How do I create a MySQL database and user?

Log in to your hosting control panel.Open MySQL Management (or Databases).Click Create new database, enter a name and create a database user with a strong…

  • Shared Hosting
  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.

More from the knowledge base

Need something that is not on the list?

Custom builds, private VLANs, BGP sessions, multi-rack deployments. Tell us what you are running and an engineer replies, usually within the hour.