@zeus4 Im not to familiar with MySQL, but this forum here might either have your answer, or someone in might be able to answer your question better. Hope they help.
MySQL Async Library
You can find it here with all the instructions : https://github.com/brouznouf/fivem-mysql-async
This lib does not replace EssentialMode, it offers however async methods and compatible API for people only needing Essential Mode for MySQL
The current API should be stable, but it may change before a first stable release.
Feel free to raise Issues/Pull request on Github
Current features
Async method for mysql by using a callback
Sync method also available but not recommended
…