Search results
Download the latest release of oxmysql. Configure your server. Open your server configuration file (opens in a new tab) . Add start oxmysql to the top of your resource list. Configure your mysql connection string and set it before starting any resources. # Use your preferred format.
oxmysql. A FiveM resource to communicate with a MySQL database using node-mysql2. 🔗 Links. 💾 Download. Download the latest release directly. 📚 Documentation. For installation, setup, and everything else. 📦 npm. Use our npm package for enhanced functionality and TypeScript support. Features. Support for mysql-async and ghmattimysql syntax.
oxmysql. A FiveM resource to communicate with a MySQL database using node-mysql2. 🔗 Links. 💾 Download. Download the latest release directly. 📚 Documentation. For installation, setup, and everything else. 📦 npm. Use our npm package for enhanced functionality and TypeScript support. Features. Support for mysql-async and ghmattimysql syntax.
v2.12.0 Latest. External logger services can now be loaded with set mysql_logger_service '@resource/path.js'. Added support for mysql_option (s) in resource metadata (fxmanifest). Added mysql_option 'return_callback_errors', allowing error handling in your callbacks.
Resources can import oxmysql methods by including our library, granting some type-checking and minor performance improvements over raw export calls. Lua Modify fxmanifest.lua for your resource, and add the following above any other script files.
Installation. We strongly recommend referring to Guides to setup necessary development tools. Install all resource dependencies. oxmysql. ox_lib. Download the latest release or build the source code. Setup Git, Node.js, and pnpm. Download and setup MariaDB 11.4+ (opens in a new tab) .
OxMySQL is a great way to connect to your database whether you are running a FiveM Server or a RedM Server. How to install OxMySQL Manually. To install OxMySQL you are going to want to head over to the Official OxMySQL Github Repo and download the files. The files should be in a .ZIP file format, make sure you get the most Stable Version.