Files
oxmysql/fxmanifest.lua
T
Linden 050eef58b9 fix(execute): revert to promise api
Several reports of increased chances to hit a deadlock since v2.2.2, and
three reports of a timeout during prepare since v2.2.4.
Simpler to revert to the old prepare function and api (with improvements)
than to work out the solution.

Look into rewriting prepare in the future or including the mariadb connector,
which doesn't suffer from the same perf issues.
2022-04-03 06:10:13 +11:00

33 lines
653 B
Lua

fx_version 'cerulean'
game 'common'
name 'oxmysql'
description 'Database wrapper for FiveM utilising node-mysql2 offering improved performance and security.'
version '2.2.5'
url 'https://github.com/overextended/oxmysql'
author 'overextended'
dependencies {
'/server:5104',
}
client_script 'ui.lua'
server_script 'dist/build.js'
files {
'ui/build/index.html',
'ui/build/**/*'
}
ui_page 'ui/build/index.html'
provide 'mysql-async'
convar_category 'OxMySQL' {
'Configuration',
{
{ 'Connection string', 'mysql_connection_string', 'CV_STRING', 'mysql://user:password@localhost/database' },
{ 'Debug', 'mysql_debug', 'CV_BOOL', 'false' }
}
}