connect_db
Establish connections to MySQL databases using URL or configuration parameters. Supports database operations such as queries, schema management, and CRUD through a standardized interface on the MCP-MongoDB-MySQL-Server.
Instructions
Connect to MySQL database using URL or config
Input Schema
Name | Required | Description | Default |
---|---|---|---|
database | No | ||
host | No | ||
password | No | ||
url | No | Database URL (mysql://user:pass@host:port/db) | |
user | No | ||
workspace | No | Project workspace path |
Input Schema (JSON Schema)
{
"properties": {
"database": {
"optional": true,
"type": "string"
},
"host": {
"optional": true,
"type": "string"
},
"password": {
"optional": true,
"type": "string"
},
"url": {
"description": "Database URL (mysql://user:pass@host:port/db)",
"optional": true,
"type": "string"
},
"user": {
"optional": true,
"type": "string"
},
"workspace": {
"description": "Project workspace path",
"optional": true,
"type": "string"
}
},
"type": "object"
}