Databases: Delete MySQL User

Overview

There are two types of deleting users. One way is to delete a user from a database. The other type is to delete a user permanently.

Delete A User From The Database

Steps
  1. When the page loads, you will see a table containing the following information, split into five columns:
    • Database - This entry will be the database name you created in Step 1 above.
    • Size - This entry will be the size of the database you created in Step 1 above.
    • Users - This entry will be the users in the database.
    • Actions - You have once choice:
      • Delete Database - Click on this link to delete a database.
  2. First find the database you want to delete the user from in the "Database" column. Then find the user you want to delete from the "Username" column.
  3. Next, click on the x in a circle icon.
  4. You will see the following confirmation statement:
    • "Are you sure you wish to remove USERNAME User from the database DATABASE?"
  5. Click on the Yes button.
  6. Then click on the Go Back link.

The user you deleted should no longer be associated with the database you chose in Step 2 above.

Delete A User Permanently

Steps
  1. There will be a two-column table containing the "Users" and "Delete" column. Find the user you want to delete from the system and click on the x in a circle icon.
  2. You will see the following statement:
    • "Are you sure you wish to permanently remove the USERNAME User?"
  3. Click on the Yes button.
  4. You will see the following statement:
    • "Deleted the USERNAME."
Was this answer helpful? 0 Users Found This Useful (14 Votes)