Skip to content

MySQL

Management Local and remote MySQL, MariaDB

In order to ensure data security, it is recommended to use Cron to back up the database every day when you are idle to avoid data loss.

MySQL Overview

alt text

FunctionDescribe
Add DBAdd database to local MySQL or remote server MySQL
Root passwordView and modify the root password of the local MySQL
Remote DBAdd or manage databases on remote servers
Sync allSynchronize the database list of aaPanel to local MySQL
Obtain the database list from the local MySQL or remote server and synchronize it to aaPanel
Database name
Display current database name
UsernameDisplay the user name of the current database
PasswordView, Copy the password of the current database
QuotaDisplay, Set the space limit of the current database
BackupDisplays the number of backups, click on it to display Backup, Download, Restore, Delete the current database file
ImportUpload, Select files and import them into the current database
LocationDisplays the physical storage location of the current database
NoteDisplay notes for the current database
phpMyAdminUse phpMyAdmin to manage local MySQL databases
PermissionDisplay, Set the user login permissions of the current database
ToolsUse Repair, Optimize, Convert to MyISAM/InnoDB to repair, optimize, and convert the table to MyISAM/InnoDB
CHG PWView, Modify the password of the current database
DeleteDelete current database, Tip: Please make a backup before deleting

Add DB

Add a database to local MySQL or remote server MySQL

alt text

FunctionExampleDescribe
DB NamekerntestDatabase name
utf-8utf-8Database character: utf8mb4, utf-8, etc.
UsernamekerntestDatabase username
PasswordZpRz5sxGRfjd6AGNDatabase password
PermissionLocal serverLogin permissions: Specified IP, Everyone, Local server
Add toLocal serverDatabase storage server: Local server, Remote server
Force SSLCloseForce SSL connection

Root password

  • View the local Mysql root password
  • Modify the local Mysql root password

alt text

phpMyAdmin

  • Service:

    alt text

    1. Enable public access: Allow public access

    2. Password-free access: Password-free access requires logging into phpMyAdmin

    3. Public access: Open phpMyAdmin login page when clicked

  • PHP versionCheck and Change the PHP version used by phpMyAdmin.

  • Security configuration

    alt text

    1. Access port: phpMyAdmin http access port
    2. Open SSL / SSL port: phpMyAdmin https access port
    3. Access with password: phpMyAdmin access with password

Remote DB

  • Add and Manage Remote DB :
  1. Support MySQL5.5, MariaDB10.1 and above versions
  2. Support cloud databases from cloud vendors
  3. Please ensure that this server has permission to access the database
  4. Please ensure that the administrator account you fill in has sufficient permissions
  5. Database root installed through aaPanel does not support remote permissions by default
  6. The remote server system firewall and the server provider's security group need to open the MySQL port.

alt text

Sync all

  • Synchronize aaPanel database list to local MySQL

Get DB from server

Tip: Database password cannot be synchronized

  • Obtain the database list from local MySQL and synchronize it to aaPanel
  • Obtain the database list from the remote server and synchronize it to aaPanel.

alt text

MySQL Manager

Supports management of MySQL, MariaDB configuration, service status, current status, logs, etc.

alt text

Permission

Modify the user login permissions of the specified database

alt text

FunctionExampleDescribe
Permission
Specified IP, Everyone, Local server
Specified IP, Everyone, Local server can have permission to log in to the database
IP127.0.0.1, 192.168.247.135Specify the IP address to log in
Force SSLCloseForce SSL connection

Tools

alt text

FunctionExampleDescribe
Table namewp_commentmetaDisplay the name of the current table
EngineInnoDBDisplay the table engine for the current table
Characterutf8mb4_unicode_520_ciDisplay the character of the current table
Row number152Display the number of rows in the current table
Size16.00KBDisplay the table size of the current table
RepaircommandExecute REPAIR command to recover table data.
OptimizecommandExecute OPTIMIZE command to recover unreleased disk space.
Convert to MyISAM/InnoDBcommandConvert table engine.

CHG PW

View and modify the password of the specified database in batches

alt text

Quota

View and modify the space quota of the specified database

alt text

Backup

View, restore, backup, delete, download backup files of the specified database

alt text

  • Backup: Backup the current database
  • Repair: Restore the current database. Note that this operation will overwrite the current database. Please backup first before performing this operation.
  • Download: Download the backup file of the current database
  • Delete: Delete the backup file of the current database

Import

Upload or select files to import into the current database

  • Upload from local: Upload files from local to import to the current database
  • Import: Restore the current database. Note that this operation will overwrite the current database. Please backup first before performing this operation.
  • Delete: Delete file

alt text

Batch operation

  • Sync to Server: Synchronize the specified database to Mysql

  • DB backup: Batch backup database

  • Delete database: Delete database in batches, Tip: Please make a backup before deleting alt text

Feedback or Suggestions

If you encounter problems or suggestions during use, please contact us through the following methods:

  • (Please describe in detail or provide screenshots)
  1. Forum: https://www.aapanel.com/forum
  2. Email: [email protected]