@yanzhang123/readonly-db-mcp 0.9.12 → 0.9.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -258,10 +258,12 @@ MYSQL_POOL_SIZE=0
258
258
  MYSQL_SQL_MODE=TRADITIONAL
259
259
  MYSQL_CHARSET=utf8mb4
260
260
  MYSQL_COLLATION=utf8mb4_unicode_ci
261
- MYSQL_USE_PURE=false
261
+ # MYSQL_USE_PURE=true # 默认不设置
262
262
  MYSQL_RAISE_ON_WARNINGS=false
263
263
  ```
264
264
 
265
+ `MYSQL_USE_PURE`(命名配置中为 `use_pure`)默认不设置:Connector/Python 优先使用 C 扩展,加载失败时自动退回纯 Python 实现。只有明确需要时才设置;设为 `false` 会强制要求 C 扩展,扩展不可用时连接直接失败。
266
+
265
267
  `MYSQL_SQL_MODE` 与命名配置的 `sql_mode` 会在每次查询的会话中显式设置(空值即设为空模式)。会改变引号或反斜杠语义的模式会被拒绝:`ANSI_QUOTES`、`NO_BACKSLASH_ESCAPES`,以及包含它们的组合模式 `ANSI`、`DB2`、`MAXDB`、`MSSQL`、`ORACLE`、`POSTGRESQL`,因为只读 SQL 闸门按 MySQL 默认规则识别字符串边界。
266
268
 
267
269
  ### Streamable HTTP 传输(推荐)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yanzhang123/readonly-db-mcp",
3
- "version": "0.9.12",
3
+ "version": "0.9.14",
4
4
  "description": "Enterprise-auditable, strictly read-only MySQL MCP server with multi-environment profiles.",
5
5
  "license": "MIT",
6
6
  "type": "commonjs",