How to Create and Delete MySQL Databases and Users
Databases offer a method for managing large amounts of information easily over the web. It can run many web-based applications such as bulletin boards, content management systems, and online retail shops.
- Create or Delete a MySQL Database
- Create or Delete a Database User
- Define a User's Privileges
- Using the Database
To begin, you will need to log in to your Bluehost control panel.
- For the Bluerock Accounts - Click the Advanced tab from the side navigation menu to the left.
- For the Legacy Accounts - Click the cPanel in the sub-menu that stretches across the top of your screen.
If you are unsure whether the account uses the Legacy or Bluerock interface, please see Bluerock vs. Legacy to determine which steps to follow.
Create or Delete a MySQL Database
Create a MySQL Database
- Under the Database section, select MySQL databases.
- In the New Database field, type a name for the database.
- Click Create Database.
- Click Go Back.
- The new database will appear in the Current Database table.
- The new database will appear in the Current Database table.
Delete a MySQL Database
- Under the Database section, select MySQL databases.
- Navigate to the Current Databases section
- Click the Delete Database link next to the database you wish to delete

Create or Delete a Database User
After creating the database, a user will need to be created and their privileges added to the newly created database. Please note that MySQL user accounts must be created separately from mail and web administrator accounts.
Create a Database User
- Under the Database section, select MySQL databases.
- Locate the MySQL Users section of the MySQL Databases tool. To quickly find this section, click "Jump to MySQL Users."
- Under Add New User, enter a username.
Note: The username must be 7 letters or shorter.
- Enter a password in the Password field.
Tip: For help generating a strong password, click the Generate Password button.
- Retype the password in the Password (Again) field.
- Click Create User.
Delete a Database User
- Log in to your Bluehost control panel.
- Under the Database section, select MySQL databases.
- Navigate to the Current Users section
- Click the 🗑 trash can icon next to the user you wish to delete
Define a User's Privileges
Privileges define how the user can interact with the database. For example, they will determine whether or not the user can add and delete information.
Assign a Database User
- Under the Database section, select MySQL databases.
- Under Add User to Database, select a user from the User drop-down menu.
- From the Database drop-down menu, select the database to which you wish to allow the user access.
- Click Add.
- From the MySQL Account Maintenance screen, select the privileges you wish to grant the user or select ALL PRIVILEGES.
- Click Make Changes.
Un-assign, a Database User
To un-assign a user from a database, kindly click the 🗑 trash can icon next to the user on the database table.
Using the Database
Now that you can create databases, users and assign appropriate privileges, you can use the following articles as a reference to editing and connecting to your databases.
- How to Copy or Rename a Database
- Remote Database Connection Setup
- Managing Databases with Applications
- MySQL Connection Strings
If you need further assistance, feel free to contact us via Chat or Phone:
- Chat Support - From our home page, click the Contact option in the top right-hand corner, then click Chat Now.
- Phone Support -
- US: 888-401-4678
- International: +1 801-765-9400
You may also refer to our Knowledge Base articles to help answer common questions and guide you through various setup, configuration, and troubleshooting steps.