ArsalLocationStarter

Managing Databases with phpMyAdmin

phpMyAdmin is a powerful, web-based database management tool that allows you to easily create, manage, import, export, and delete MySQL databases through an intuitive graphical interface.

🔑 Accessing phpMyAdmin

Step 1: Log in to cPanel

Navigate to your cPanel login page and enter your username and password.

Step 2: Open phpMyAdmin

Scroll down to the Databases section of cPanel and click on the phpMyAdmin icon. A new tab will open with the phpMyAdmin dashboard.

➕ Creating a Database

Step 1: Open the Databases Tab

Once inside the phpMyAdmin dashboard, click on the Databases tab located in the top menu bar.

Step 2: Create a New Database

  1. Locate the Create database field.

  2. Enter your desired database name.

  3. Click the Create button.

🛠️ Managing Databases

Step 1: Select a Database

From the left-hand sidebar, click on the name of the database you want to manage to expand its contents.

Step 2: Perform Database Operations

phpMyAdmin provides several core tools to manage your database effectively:

  • Tables: View, edit, optimize, or delete individual tables within the selected database.

  • SQL: Execute custom SQL queries directly from the dedicated SQL tab.

  • Export: Download and back up your database in various formats, such as .sql or .csv.

  • Import: Upload and import data from an external file directly into your active database.

⚠️ Deleting a Database

🔴 CRITICAL WARNING: Deleting a database is permanent and will instantly remove all stored data. Always ensure you have a fresh backup before proceeding.

Step 1: Select the Database

In phpMyAdmin, find the left-hand sidebar and click on the database you wish to delete.

Step 2: Drop the Database

  1. Navigate to the Operations tab in the top menu.

  2. Look for the Database group settings and click Drop the database (DROP).

  3. Confirm the action when the browser prompt appears.

The selected database and all of its contents will now be permanently removed.