mirror of
https://github.com/executeautomation/mcp-database-server.git
synced 2025-12-09 21:12:57 +08:00
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:
@@ -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
|
||||
```
|
||||
|
||||
## 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
|
||||
|
||||
Instead of specifying sensitive credentials on the command line, you can use environment variables:
|
||||
|
||||
@@ -53,4 +53,12 @@
|
||||
- Table management (CREATE, ALTER, DROP)
|
||||
- Schema introspection
|
||||
- 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
|
||||
Reference in New Issue
Block a user