Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ $ npm install mysqljs/mysql
This is a node.js driver for mysql. It is written in JavaScript, does not
require compiling, and is 100% MIT licensed.

The driver implements the MySQL wire protocol and is tested against MySQL and
MariaDB in CI (see `.github/workflows/ci.yml`).

Here is an example on how to use it:

```js
Expand Down Expand Up @@ -1543,7 +1546,7 @@ For a good pull request, we ask you provide the following:

The test suite is split into two parts: unit tests and integration tests.
The unit tests run on any machine while the integration tests require a
MySQL server instance to be setup.
MySQL-protocol-compatible database server (MySQL or MariaDB) to be setup.

### Running unit tests

Expand All @@ -1558,7 +1561,10 @@ Set the environment variables `MYSQL_DATABASE`, `MYSQL_HOST`, `MYSQL_PORT`,
of `MYSQL_HOST` and `MYSQL_PORT` to connect over a UNIX socket. Then run
`npm test`.

For example, if you have an installation of mysql running on localhost:3306
The project's CI workflow runs integration tests against multiple MySQL and
MariaDB versions; see `.github/workflows/ci.yml` for the full matrix.

For example, if you have an installation of MySQL or MariaDB running on localhost:3306
and no password set for the `root` user, run:

```sh
Expand Down