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
```
## 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:

View File

@@ -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