Skip to content
This repository was archived by the owner on Oct 19, 2021. It is now read-only.

Mysql adapter not working as it should #2

Open
Vortelf opened this issue Oct 30, 2017 · 0 comments
Open

Mysql adapter not working as it should #2

Vortelf opened this issue Oct 30, 2017 · 0 comments

Comments

@Vortelf
Copy link

Vortelf commented Oct 30, 2017

Hello,
Just added this to my project and here is the thing:
Whenever 'data' query is called, the adapter cannot request the data because the old connection is still on and @ line 73 of adapter/mysql.js it tries to open it again.

Temporary workaround is adding if(db.state != "authenticated") above db.connect() but I think you should find better solution to that.

Cheers.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant