Creating and Editing Database Users

Every database for your domain has a default user that can view and edit the database. If you wish to give someone controlled access to your database, you can also add additional users.This article explains how to create and modify database users in DirectAdmin. Once a user is given access to a database, they can login to phpMyAdmin at '' (just replace 'server' with your server).

Adding a User to a Database

  1. Log in to DirectAdmin and navigate to your domain.
  2. Under "Your Account" click on "MySQL Management".
  3. Click on the name of the database you want to add a user to.
  4. Click "Create New Database User".
  5. Enter a username to create a new user, or select an existing user from the dropdown menu.
  6. Enter a password (this is only necessary if you are creating a new user).
  7. Click "Create".
    Note: By default new users have access to all database privleges except "Grant". To change these privileges see below.

Modifying User Privileges

  1. Navigate to MySQL Management as above.
  2. Click on the name of the database you want to modify users for.
  3. Click "modify privileges".
  4. Select which priveleges to give to the user.
  5. Click "Save".

Related Links

Did you find this article helpful?