Skip to content

Releases: overextended/oxmysql

v1.1.0 - backward compatibility

11 Sep 01:45
Compare
Choose a tag to compare
  • Backward compatibility for mysql-async/ghmattimysql syntax of queries.

exports.oxmysql.single('SELECT * FROM users WHERE identifier = @identifier, {
  ['@identifier'] = xPlayer.identifier
}
  • mysql_debug true/false convar will enable more specific logging of queries and parameters.

v1.0.0 - First release

08 Sep 21:53
Compare
Choose a tag to compare

USE PREPARED BUILD (oxmysql.zip) NOT SOURCE CODE!!!

No need to build nor use yarn, just drag & drop oxmysql folder

Make sure you set up config before using this resource.

server.cfg

  • Database config (required)
    set mysql_connection_string "mysql://user:password@host/database?charset=utf8mb4"
  • Slow query warnings (optional)
    set mysql_slow_query_warning 50