connect_db
Establishes a connection to a MySQL database by specifying host, user, password, and database name, enabling data interaction and management.
Instructions
Connect to MySQL database
Input Schema
Name | Required | Description | Default |
---|---|---|---|
database | Yes | Database name | |
host | Yes | Database host | |
password | Yes | Database password | |
user | Yes | Database user |
Input Schema (JSON Schema)
{
"properties": {
"database": {
"description": "Database name",
"type": "string"
},
"host": {
"description": "Database host",
"type": "string"
},
"password": {
"description": "Database password",
"type": "string"
},
"user": {
"description": "Database user",
"type": "string"
}
},
"required": [
"host",
"user",
"password",
"database"
],
"type": "object"
}