• Go To Website
  • Go To Website
home/Knowledge Base/Databases/Creating MySQL Users and Databases
Popular Search:Reseller Hosting, VPS Hosting, Professional Mail

Creating MySQL Users and Databases

Updated on April 10, 2022

Databases make it simple to manage enormous volumes of data through the internet. Many web-based applications, such as online retail stores, content management systems, and bulletin boards, require them.

In this post, we’ll go over the processes for creating a new database and a new user who will be successfully assigned to the database. This is something that is usually required when starting from scratch with an application or script. When possible, we recommend using the Softaculous Auto-Installers, which automate the installation of apps such as Magento, Joomla, and WordPress.

To begin the process, you must first log into your cPanel account. After that, go to the Databases tab and look for the MySQL Database Wizard after you’ve logged in.

Creating My SQL Databases and Users

Once you’ve gained access to this tool, you’ll need to complete a few steps, the first of which is naming the database. The database name will be prefixed with your cPanel username, for example, cpaneluser db. It is advisable to utilize something descriptive in order to avoid any future confusion. Use something like “wordpress” or “wp” instead of “DB.”

On the net page, you will be asked what your database password and username should be. The database user is the simplest to create, as it uses the same username as the database name. When it comes to the password, you have the option of using the built-in “Password Generator” or simply typing in a password of your own. When you’re happy with your username and password, click the “Create User” button to go to the next page.

Creating My SQL Users

You’ll need to assign a user to the database you just established, and most of the time, that user will require all privileges. To do so, choose the checkbox next to the text “All Privileges.” Once you’ve completed this, click the “Next Step” button. This is the final step, and it indicates you’ve successfully created your database and user for your cPanel account.

Add Users to My SQL Databases

To delete a MySQL database, go to MySQL Databases and select “Current Databases” from the drop-down menu. Click the delete button next to the database you want to delete in the column “Actions.” Simply confirm your action to erase the database permanently, and you’re set to go.

To delete a database user, go to MySQL Databases and select “Current Users” from the drop-down menu. Once you’re there, find the database user you want to delete and click the delete icon next to it. Select the Delete User icon to confirm the deletion.

 

 

Was this helpful?

1 Yes  No
Related Articles
  • How to Install WordPress Online Using Softaculous App Installer
  • Enable or Disable PHP’s GD Extension in cPanel
  • Listed Hosting Nameservers
  • What is an index page?
  • Website staging with Softaculous
  • Website cloning with Softaculous
Leave A Comment Cancel reply

Databases
  • Creating MySQL Users and Databases
  • Cron Jobs: An Overview
  • How to Improve the Performance of Your Hosting
  • A High-Level Overview of HTTP 2
  • Two Simple Methods for Exporting and Importing MySQL Databases
  • Using cPanel to Access a MySQL Database Remotely
View All 6  
Popular Articles
  • How to Install WordPress Online Using Softaculous App Installer
  • How do I set up my domain’s personal Nameservers?
  • How do I use a browser to dynamically update the host’s IP?
  • What does “Awaiting release from previous registrar” transfer status mean?
  • How to Preview Your Website on Our Servers
Categories
  • cPanel
    • Softaculous
  • Professional Business Mail
  • Backup
  • General
  • Domain
    • Transfer
  • SSD Hosting
  • Cloud VPS
  • Migration
  • Resellers
  • Security
    • SSL
  • Databases
  • Affliates
  • WordPress
  • Billings & Payments
  • Email
  • Files & Access
  • PHP
  • Nameservers

  Cron Jobs: An Overview

Creating an FTP account  

  • © 2022. Listed Hosting. All Rights Reserved.

Popular Search:Reseller Hosting, VPS Hosting, Professional Mail