Update version to 1.1.0 and enhance MySQL documentation

Bumped version to 1.1.0 in index.ts and package.json. Updated README and connection reference documentation to include MySQL port option and usage examples. Added release notes for new features and improvements related to MySQL support.
This commit is contained in:
Karthik KK
2025-05-31 08:35:40 +12:00
parent 674cf50db6
commit 2d29108b3f
6 changed files with 35 additions and 6 deletions

View File

@@ -68,6 +68,25 @@ node dist/src/index.js --postgresql --host localhost --database sample_db --user
node dist/src/index.js --postgresql --host dbserver.example.com --database sample_db --user appuser --password Secure123! --port 5433 --ssl true node dist/src/index.js --postgresql --host dbserver.example.com --database sample_db --user appuser --password Secure123! --port 5433 --ssl true
``` ```
## MySQL Connection Options
| Option | Description | Default | Required |
|--------|-------------|---------|----------|
| `--mysql` | Specifies MySQL mode | - | Yes |
| `--host` | MySQL hostname or IP | - | Yes |
| `--database` | Database name | - | Yes |
| `--user` | MySQL username | - | No |
| `--password` | MySQL password | - | No |
| `--port` | MySQL port | 3306 | No |
| `--ssl` | Use SSL connection (true/false or object) | false | No |
| `--connection-timeout` | Connection timeout in ms | 30000 | No |
### Example
```bash
node dist/src/index.js --mysql --host localhost --database sample_db --port 3306 --user root --password secret
```
## Environment Variables ## Environment Variables
Instead of specifying sensitive credentials on the command line, you can use environment variables: Instead of specifying sensitive credentials on the command line, you can use environment variables:

View File

@@ -54,3 +54,11 @@
- Schema introspection - Schema introspection
- MCP integration for Claude Desktop - MCP integration for Claude Desktop
- Node.js-based implementation for cross-platform support - Node.js-based implementation for cross-platform support
## 1.1.0 (2024-05-30)
### Features
- Added MySQL database support (read/write/query, schema, etc.)
- Support for passing MySQL port via CLI and config
- Improved port validation and debug logging for MySQL
- Updated documentation and examples for MySQL and port usage

View File

@@ -14,7 +14,7 @@ import sqlite3 from "sqlite3";
const server = new Server( const server = new Server(
{ {
name: "executeautomation/database-server", name: "executeautomation/database-server",
version: "1.0.0", version: "1.1.0",
}, },
{ {
capabilities: { capabilities: {

View File

@@ -1,6 +1,6 @@
{ {
"name": "@executeautomation/database-server", "name": "@executeautomation/database-server",
"version": "1.0.2", "version": "1.1.0",
"description": "MCP server for interacting with SQLite and SQL Server databases by ExecuteAutomation", "description": "MCP server for interacting with SQLite and SQL Server databases by ExecuteAutomation",
"license": "MIT", "license": "MIT",
"author": "ExecuteAutomation, Ltd (https://executeautomation.com)", "author": "ExecuteAutomation, Ltd (https://executeautomation.com)",

View File

@@ -97,17 +97,17 @@ Optional parameters:
To use with a MySQL database: To use with a MySQL database:
``` ```
node dist/src/index.js --mysql --host <host-name> --database <database-name> [--user <username> --password <password>] node dist/src/index.js --mysql --host <host-name> --database <database-name> --port <port> [--user <username> --password <password>]
``` ```
Required parameters: Required parameters:
- `--host`: MySQL host name or IP address - `--host`: MySQL host name or IP address
- `--database`: Name of the database - `--database`: Name of the database
- `--port`: Port number (default: 3306)
Optional parameters: Optional parameters:
- `--user`: Username for MySQL authentication - `--user`: Username for MySQL authentication
- `--password`: Password for MySQL authentication - `--password`: Password for MySQL authentication
- `--port`: Port number (default: 3306)
- `--ssl`: Enable SSL connection (true/false or object) - `--ssl`: Enable SSL connection (true/false or object)
- `--connection-timeout`: Connection timeout in milliseconds (default: 30000) - `--connection-timeout`: Connection timeout in milliseconds (default: 30000)
@@ -160,6 +160,7 @@ If you installed the package globally, configure Claude Desktop with:
"--mysql", "--mysql",
"--host", "your-host-name", "--host", "your-host-name",
"--database", "your-database-name", "--database", "your-database-name",
"--port", "3306",
"--user", "your-username", "--user", "your-username",
"--password", "your-password" "--password", "your-password"
] ]
@@ -211,6 +212,7 @@ For local development, configure Claude Desktop to use your locally built versio
"--mysql", "--mysql",
"--host", "your-host-name", "--host", "your-host-name",
"--database", "your-database-name", "--database", "your-database-name",
"--port", "3306",
"--user", "your-username", "--user", "your-username",
"--password", "your-password" "--password", "your-password"
] ]

View File

@@ -28,7 +28,7 @@ const logger = {
const server = new Server( const server = new Server(
{ {
name: "executeautomation/database-server", name: "executeautomation/database-server",
version: "1.0.1", version: "1.1.0",
}, },
{ {
capabilities: { capabilities: {