connect_db
Establish a connection to a MySQL database using host, user, password, and database details. Allows integration with MCP MySQL Server for query execution, table listing, and automated connection management.
Instructions
Connect to MySQL database (optional if environment variables are set)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
database | Yes | Database name | |
host | Yes | Database host | |
password | Yes | Database password | |
port | No | Database port (optional) | |
user | Yes | Database user |