loading
 

مرکز آموزش

Creating, Importing, and Exporting MySQL Databases with phpMyAdmin

Print

MySQL databases store all the dynamic content for applications like WordPress. phpMyAdmin is the web tool used to manage them.

 

Step 1: Create the Database & User

 

  1. Go to MySQL Databases: In cPanel, click the MySQL Databases icon in the Databases section.

  2. Create Database: Enter a name and click Create Database.

  3. Create User: Scroll down to MySQL Users, enter a username, and set a strong password. Click Create User.

  4. Add User to DB: Scroll down to Add User to Database, select the new user and new database, and click Add. On the next screen, check ALL PRIVILEGES and click Make Changes.

 

Step 2: Import/Export using phpMyAdmin

 

  1. Access phpMyAdmin: In cPanel, click the phpMyAdmin icon in the Databases section.

  2. Select Database: Click the name of the database you want to work with in the left sidebar.

  3. Export (Backup):

    • Click the Export tab at the top.

    • Choose Quick export method (recommended for backups) and SQL format.

    • Click Go. A .sql file will download to your computer.

  4. Import (Restore):

    • Click the Import tab at the top.

    • Click Choose File and select your .sql or compressed database backup file from your computer.

    • Click Go.

 

  • #MySQL databases, #phpMyAdmin, #Databases, MySQL Users, Create User, Add User to DB, ALL PRIVILEGES, Export (Backup), Quick, Import, Choose File, .sql
  • 0 کاربر این را مفید یافتند
آیا این پاسخ به شما کمک کرد؟

مقالات مربوطه

A Beginner's Guide to cPanel/WHM Interface

cPanel is the most popular Linux-based web hosting control panel. It is a user-friendly interface...

How to Upload Files to Your Website Using cPanel File Manager

The File Manager is a web-based utility for managing your site's files without needing an...

Creating and Managing FTP/SFTP Accounts for File Transfer

FTP (File Transfer Protocol) is the standard method for transferring files between your local...

Setting Up a Custom Email Address ($user@$domain.com)

  Go to Email Accounts: In cPanel, click the Email Accounts icon in the Email section....

Scheduling and Restoring Website Backups via the Client Area

While cPanel has a backup tool, many hosts like Koelhost provide a superior, one-click backup...