[Release] Essential Mode Mysql Plugin Updated

esmysql.zip (138.5 KB)

Download resource from above or Click Here
Place the resource in your [essentialmode] folder in your resources directory.
Add the following 2 lines to your server.cfg make sure this goes before start essentialmode

set mysql_debug false
start esmysql

Enjoy the new faster async plugin for Essential Mode.

This plugin was made using the new Mysql Async for FiveM by zr0iq which can be found at this link:
FiveM-MySQL

The plugin is included in the libs folder along with all other dependencies. Modify this as you see fit.
Github

3 Likes

umm is this normal?

restarestart esplugin_mysql-updated
Stopping resource esplugin_mysql-updated
cfx> System.IO.FileNotFoundException: Unable to find the specified file.
  at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR (System.Int32 errorCode) [0x0000a] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
  at (wrapper cominterop) CitizenFX.Core.IScriptHost:OpenHostFile (string)
  at (wrapper cominterop-invoke) CitizenFX.Core.IScriptHost:OpenHostFile (string)
  at CitizenFX.Core.MonoScriptRuntime.LoadFile (System.String scriptFile) [0x00007] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client\clrcore\MonoScriptRuntime.cs:91
Failed to load script GHMattiMySQL.net.dll.
Failed to load script server.lua.
Started resource esplugin_mysql-updated
hitch warning: frame time of 424 milliseconds
2 Likes

or how about this when i delete the cache and restart the server?

1 Like

You have some files missing it looks like make sure you downloaded from here or the releases section of github

i downloaded it from here and it displayed that when i start my server

1 Like

Did you start it before essentialmode and also did you clear your cache, What artifact are you running and is the server on linux or windows

i’m running windows as you can see. and idk because i’m on my phone i can logon to my pc and see if it is because i have teamviewer installed on my home pc i’m away atm. i will login and see.

The resource is standalone and uses my C# Library, which is shipped with this resource. You do not need to install my resources again.

am confused how I install do I remove my-async and put this first? also, I put this inside the essentialmode folder how does that work?

it just replaces all that was esplugin_mysql afaik. You just replace that folder.

thank you i started the resource without mysql-async updated by you, and it worked and did not give me an error!

1 Like

so i use this with mysql async? it just replease the esplugin_mysql function

With this u do not need MySQL async for essentialmode by itself other apps may require it

do you know can we leave async and paste this at same time? or is that not possible??

i currently have both going on one of my servers so its fine :smiley:

ok thx bro do you use esx or somthing else and do you notice some better performance

OP has been updated with a new release should fix a few bugs enjoy.

Hello…I ve a problem…the error message is: [ 3438] ^3Couldn’t find resource esmysql.^7
in server.cfg it start so
set mysql_debug false
start esmysql
resource.loa : “server_script ‘esmysql.net.dll’”
the dll is in the folder every thing is up to date

and since yesterday the console closed without a message

is this meant to fix the hitch warning we get with MySQL connector?

Yes this can fix some hitch warnings as this is faster then the stock resource :smiley: