Skip to content

v0.1.1

Latest
Compare
Choose a tag to compare
@designcomputer designcomputer released this 12 Feb 18:54

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

{
  "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.