Skip to content

Commit 771e05b

Browse files
Merge pull request #2070 from ChaeWonKong/update-docs-sql-typeorm
docs(sql-typeorm) need to require mysql2 instead of mysql
2 parents d36438b + 27541dc commit 771e05b

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)