Skip to content

Commit 27541dc

Browse files
committed
docs(sql-typeorm) need to require mysql2 instead of mysql
1 parent d36438b commit 27541dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/recipes/sql-typeorm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
To start the adventure with this library we have to install all required dependencies:
1212

1313
```bash
14-
$ npm install --save typeorm mysql
14+
$ npm install --save typeorm mysql2
1515
```
1616

1717
The first step we need to do is to establish the connection with our database using `createConnection()` function imported from the `typeorm` package. The `createConnection()` function returns a `Promise`, and therefore we have to create an [async provider](/fundamentals/async-components).

0 commit comments

Comments
 (0)