Connect to MySql Database


Hi Guys,

Bit of a noob to modding. Want to make a standalone Drug Dealing mod for Five M

I have several questions but first and foremost: how do I
connect to mysql database from Lua script?

I have a default server and client setup at the moment. The mysql database is also on the same box as the client and server. I have created a database with 2 tables (users and items)
Looking to just make a connection to the database and return some data to get an understanding of how everything works.