GMSSH Product ManualGMSSH Product Manual
Changelog
Official Site
  • 简体中文
  • English
Changelog
Official Site
  • 简体中文
  • English
  • 📖 Documentation

    • Product Overview
    • Introduction
    • Quick Start
    • GMSSH Client

      • Machine Management
      • Command Center
      • Terminal
      • Batch Tasks
      • Settings
    • GMSSH Desktop

      • Built-in Apps
      • App Center
      • Docker Manager
      • PHP Manager
      • MySQL Manager
      • Nginx Manager
      • Site Manager
      • Firewall Manager
      • WAF Firewall
      • Redis Manager
      • Proxy Manager
      • VPN Manager
      • Source Manager
    • Gemius AI
    • FAQ

MySQL Manager

GMSSH MySQL Manager is a visual management tool for MySQL databases on Linux servers. It provides an intuitive graphical interface covering Console, Databases & Users, Configuration, Performance, Logs, and phpMyAdmin.

Core Features

ModulePurposeCore Capabilities
ConsoleStatus MonitorService control, real-time status and performance metrics
Databases & UsersDB & Permission MgmtCreate/delete databases, manage users and access permissions
ConfigurationParameter TuningVisual MySQL core parameter editing
PerformanceOptimizationPerformance parameter tuning and recommendations
LogsRuntime LogsView and clean MySQL logs
phpMyAdminWeb DB ManagementIntegrated phpMyAdmin for full web-based database operations

Initialization

Smart Detection & One-Click Install. On first launch, the system detects MySQL status. If not found, a guide page prompts one-click installation.

Initialization

  • Auto Detection: Prompts "MySQL not installed, please click to install".
  • Install Now: Click to enter the installation wizard.

Install MySQL

Three installation methods:

Install MySQL

  • Compile Install: Build from source with custom parameters.
  • Quick Install: Pre-compiled package — fastest option.
  • Manual Select: Specify an existing MySQL binary path.
  • Version Selection: Dropdown for target version (e.g., mysql-5.7.40).
  • Safety Warning: Warns about potential data loss when switching versions.

Console

Real-Time MySQL Status Monitor. Dashboard display of service status, traffic, logs, load metrics, and performance indicators.

Console

  • Status: Header shows service status ("Running ▶") with uptime and green indicator.
  • Quick Actions: Three buttons — Stop, Restart, Reload.
  • Traffic Monitor:
    • Sent: Total data sent by the server.
    • Received: Total data received.
  • Log Info: Current binlog file and write position (offset) for replication monitoring.
  • Load Metrics:
    • Client Connections: Current active connections.
    • QPS: Queries Per Second.
    • TPS: Transactions Per Second.
  • Status Info: Performance metrics with tuning recommendations:
MetricDescriptionTuning Advice
Active/Peak ConnectionsCurrent / historical peakIncrease max_connections if too high
Thread Cache Hit RateThread cache reuse efficiencyIncrease thread_cache_size if low
Index Hit RateMyISAM key cache hit rateIncrease key_buffer_size if low
InnoDB Index Hit RateInnoDB buffer pool hit rateIncrease innodb_buffer_pool_size if low
Query Cache Hit RateQuery result cache hit rateIncrease query_cache_size if low
Temp Tables on DiskDisk temp table ratioIncrease tmp_table_size if high
Open TablesCurrently open tablestable_open_cache should exceed this
Queries Without IndexNon-indexed queriesReview table index design if non-zero
JOINs Without IndexNon-indexed joinsReview table index design if non-zero
Sort Merge PassesSort overflow to diskIncrease sort_buffer_size if high
Table LocksTable lock waitsConsider optimizing lock strategy

Databases & Users

Centralized Database & User Management. Two tabs: "Database Management" and "User Management".

Database Management

Database Management

  • Database List: Table showing name, encoding (e.g., utf8), associated user, notes, and actions.
  • Search & Refresh: Search by database name or username with refresh button.
  • Add Database: Top-right button with form for creating databases with custom encoding and user association.
  • Delete: Remove databases no longer needed.

User Management

User Management

  • User List: Table showing username, access permissions (e.g., localhost), password (show/hide/copy), associated databases, and actions.
  • Multi-Filter: Dropdown for access permission filtering plus username search.
  • Add User: Top-right button with form for creating users with username, password, and permissions.
  • User Actions:
    • Permissions: Manage database access permissions.
    • Edit: Modify user info and password.
    • Delete: Remove user and associated permissions.

Configuration

Visual MySQL Parameter Tuning. Graphical editing without manually editing my.cnf.

Configuration

  • Common Parameters:
ParameterExampleDescription
MySQL Data Path/var/lib/mysqlData file storage path
port3306MySQL listen port
Password••••••••Root password with copy/show/hide toggle
  • Password Management: Encrypted storage in mysql_pass.pl. Supports random password generation.
  • Save: Click "Save" to apply.
  • Open Config File: Top-right button for direct config file editing.

Performance

Deep MySQL Performance Tuning. Centralized performance parameter configuration with preset optimization plans.

Performance

  • Optimization Plan: Dropdown for preset plans based on server specs.
  • Tunable Parameters:
ParameterUnitDescription
max_used_sizeGBMax memory usage (recommend ≤ 90% of physical RAM)
key_buffer_sizeMBIndex buffer size
query_cache_sizeMBQuery cache (set to 0 to disable)
tmp_table_sizeMBTemp table cache size
innodb_buffer_pool_sizeMBInnoDB buffer pool size
max_connections—Maximum connections
thread_cache_size—Thread pool size
thread_stackKBPer-thread stack size
sort_buffer_sizeKBPer-thread sort buffer
read_buffer_sizeKBRead buffer size
join_buffer_sizeKBJoin buffer size
read_rnd_buffer_sizeKBRandom read buffer size
binlog_cache_sizeKBBinary log cache (multiple of 4096)
table_open_cache—Table cache
  • Save: Click "Save" to apply.
  • Open Config File: Top-right button for direct editing.

Logs

MySQL Runtime & Slow Query Logs. Two tabs: "Logs" and "Slow Logs".

Runtime Logs

Runtime Logs

  • Log Viewer: Timeline display of MySQL logs including startup, InnoDB initialization, TLS config, connection events with timestamps.
  • Clear Logs: Top-right button to clean logs.

Slow Logs

Slow Logs

  • Slow Query Log: Displays slow query records with mysqld version, port, socket path, and query details (Time, Id, Command, Argument).
  • Enable/Disable: Top-right toggle to enable/disable slow query logging.

phpMyAdmin

Web Database Management Tool. Integrated phpMyAdmin with environment detection and one-click deployment.

Environment Detection

Environment Detection

  • Dependency Check: Cards showing installation status of three dependencies:
    • PHP: Version 7.2.5+ required. Click "Open" to jump to PHP Manager.
    • MySQL: Current version display. Click "Open" for MySQL Console.
    • Nginx: Current version display. Click "Open" for Nginx Manager.
  • Compatibility Notice: MySQL > 8.0 requires PHP > 7.4 to avoid login issues.
  • Deploy: Click "Start Deploy" when all dependencies are ready.

Management Panel

phpMyAdmin Management

  • Status: Shows service status ("Running") and listen port (e.g., 8355).
  • Quick Actions: Refresh Service, View Logs, Advanced Settings, Redeploy.
  • Access URL: phpMyAdmin web URL (e.g., http://172.26.203.97:8355/phpmyadmin) with copy support and internal/external access switching.
  • Security Note: Recommended to use the built-in GMSSH browser via internal network.
  • Environment Info: Bottom cards showing PHP, MySQL, Nginx, and phpMyAdmin versions.

Version Management

Multi-Version MySQL Management. Bottom-left shows current version (e.g., 8.0.45).

  • Current Version: Click to enter version switching interface.
  • Version Switch: Switch between installed versions for testing or upgrades.

FAQ

MySQL Connection Failed — Password Sync Required

Connection Failed

Symptom: MySQL shows "Running ▶" but Console prompts "MySQL connection failed, please sync MySQL password".

Cause: The root password stored in GMSSH differs from the actual MySQL password. Common scenarios:

  • First connection after installing MySQL outside GMSSH.
  • Root password was manually changed via command line.
  • Password policy changed after version upgrade.

Solution: Click "Sync Password & Connect Now" and follow the prompts to enter the current MySQL root password.

Last Updated: 3/19/26, 4:26 PM
Contributors: xiarui
Prev
PHP Manager
Next
Nginx Manager