diff --git a/.travis.yml b/.travis.yml index 8c5484b..b65e23b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,10 @@ language: node_js node_js: + - "13" - "12" - "10" - "8" - - "6" services: - msyql diff --git a/README.md b/README.md index e64b6fe..eb7ae53 100644 --- a/README.md +++ b/README.md @@ -5,10 +5,6 @@ Fastify MySQL connection plugin, with this you can share the same MySQL connection pool in every part of your server. Under the hood the [mysql2](https://github.com/sidorares/node-mysql2) is used, the options that you pass to `register` will be passed to the MySQL pool builder. -**Disclaimer:** -**`MySQL 8.x` databases are not compatible !** This plugin is compatible with `MySQL 5.5.x`, `MySQL 5.7.x` and `MariaDB` databases. - - ## Install ``` npm i fastify-mysql --save diff --git a/package.json b/package.json index e2ec4bf..3df6c93 100644 --- a/package.json +++ b/package.json @@ -6,8 +6,10 @@ "scripts": { "test": "standard && tap test/*.test.js", "mariadb": "docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mariadb:10.1", - "mysql": "docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mysql:5.5", - "mysql:5.7": "docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mysql:5.7" + "mysql": "npm run mysql:8.0", + "mysql:5.7": "docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mysql:5.7", + "mysql:5.5": "docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mysql:5.5", + "mysql:8.0": "docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mysql:8.0" }, "repository": { "type": "git",