v5-docs icon indicating copy to clipboard operation
v5-docs copied to clipboard

Wrong documentation for database driver config

Open ricardoaranha96 opened this issue 3 years ago • 0 comments

Package version

5.8.4

Describe the bug

Link of documentation: https://docs.adonisjs.com/guides/database/introduction#drivers-config

The documentation guides us to install the package mysql2 but in the config example the client used is mysql. After I changed it to mysql2 the config started to work.

Also, the code generated by node ace configure @adonisjs/lucid generates a file with a comment that instructs to install mysql instead of mysql2.

Reproduction repo

No response

ricardoaranha96 avatar Jul 13 '22 18:07 ricardoaranha96