Download Latest Version Release v0.2.2 source code.tar.gz (9.6 kB)
Email in envelope

Get an email when there's a new version of MySQL MCP Server

Home / v0.1.1
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2025-02-12 1.0 kB
v0.1.1 source code.tar.gz 2025-02-12 7.7 kB
v0.1.1 source code.zip 2025-02-12 12.7 kB
Totals: 3 Items   21.4 kB 0

Bug Fix: MySQL Connection Configuration

Fixed

  • Separated MySQL host and port configuration to allow proper connection handling
  • Added explicit port configuration in environment variables
  • Implemented proper port handling in server configuration

Changes

  • Environment variables now require separate MYSQL_HOST and MYSQL_PORT settings
  • Added default port (3306) fallback if MYSQL_PORT is not specified
  • Updated server configuration to properly parse port as integer

Configuration Example

:::json
{
  "mcpServers": {
    "mysql_mcp_server": {
      "env": {
        "MYSQL_HOST": "localhost",
        "MYSQL_PORT": "3306",
        "MYSQL_USER": "user",
        "MYSQL_PASSWORD": "password",
        "MYSQL_DATABASE": "database"
      }
    }
  }
}

Migration

Users need to update their configuration to split any combined host:port settings into separate MYSQL_HOST and MYSQL_PORT environment variables.

Source: README.md, updated 2025-02-12