diff --git a/Readme.md b/Readme.md index 5448ce3..b55e9e0 100644 --- a/Readme.md +++ b/Readme.md @@ -8,7 +8,7 @@ Yet another object-relational mapping plugin for Egg, which is based on [Leoric] ```bash $ npm i --save egg-orm -$ npm install --save mysql2 # MySQL or compatible dialects +$ npm install --save mysql # MySQL or compatible dialects # Or use other database backend. $ npm install --save pg # PostgreSQL diff --git a/Readme.zh-CN.md b/Readme.zh-CN.md index a58f126..0a34e75 100644 --- a/Readme.zh-CN.md +++ b/Readme.zh-CN.md @@ -6,7 +6,7 @@ egg-orm 是一个适用于 Egg 框架的数据模型层插件,支持 JavaScrip ```bash $ npm i --save egg-orm -$ npm install --save mysql2 # MySQL 或者其他兼容 MySQL 的数据库 +$ npm install --save mysql # MySQL 或者其他兼容 MySQL 的数据库 # 其他数据库类型 $ npm install --save pg # PostgreSQL diff --git a/package.json b/package.json index 153f38a..4e6cf20 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,7 @@ "eslint": "^8.12.0", "eslint-config-egg": "^7.5.1", "mysql": "^2.17.1", - "mysql2": "^2.0.0", + "mysql2": "^3.9.4", "npm-run-all": "^4.1.5", "typescript": "^4.6.2" },