What am I doing wrong?

Initializing Mono
Initializing Mono completed
Hello!
Found new resource commands in C:/TCAFiles\Users\AlexD\2161/resources//commands
Found new resource custom-peds in C:/TCAFiles\Users\AlexD\2161/resources//custom-peds
Found new resource dispatchsystem in C:/TCAFiles\Users\AlexD\2161/resources//dispatchsystem
Found new resource els-fivem in C:/TCAFiles\Users\AlexD\2161/resources//els-fivem
Found new resource esplugin_mysql in C:/TCAFiles\Users\AlexD\2161/resources//esplugin_mysql
Found new resource essentialmode in C:/TCAFiles\Users\AlexD\2161/resources//essentialmode
Found new resource es_admin2 in C:/TCAFiles\Users\AlexD\2161/resources//es_admin2
Found new resource es_bank in C:/TCAFiles\Users\AlexD\2161/resources//es_bank
Found new resource es_garages in C:/TCAFiles\Users\AlexD\2161/resources//es_garages
Found new resource es_holdup in C:/TCAFiles\Users\AlexD\2161/resources//es_holdup
Found new resource fivem in C:/TCAFiles\Users\AlexD\2161/resources//fivem
Found new resource fivem-awesome1501 in C:/TCAFiles\Users\AlexD\2161/resources//fivem-awesome1501
Found new resource fivem-map-hipster in C:/TCAFiles\Users\AlexD\2161/resources//fivem-map-hipster
Found new resource fivem-map-skater in C:/TCAFiles\Users\AlexD\2161/resources//fivem-map-skater
Found new resource InteractSound in C:/TCAFiles\Users\AlexD\2161/resources//InteractSound
Found new resource Jailer in C:/TCAFiles\Users\AlexD\2161/resources//Jailer
Found new resource k9 in C:/TCAFiles\Users\AlexD\2161/resources//k9
Found new resource mysql-async in C:/TCAFiles\Users\AlexD\2161/resources//mysql-async
Found new resource PlateReader in C:/TCAFiles\Users\AlexD\2161/resources//PlateReader
Found new resource police in C:/TCAFiles\Users\AlexD\2161/resources//police
Found new resource PTTPoliceRadio in C:/TCAFiles\Users\AlexD\2161/resources//PTTPoliceRadio
Found new resource pv-indicators in C:/TCAFiles\Users\AlexD\2161/resources//pv-indicators
Found new resource security-pack in C:/TCAFiles\Users\AlexD\2161/resources//security-pack
Found new resource sfjrp_bcsopack in C:/TCAFiles\Users\AlexD\2161/resources//sfjrp_bcsopack
Found new resource vdk_call in C:/TCAFiles\Users\AlexD\2161/resources//vdk_call
Found new resource vrp in C:/TCAFiles\Users\AlexD\2161/resources//vrp
Found new resource vrp_mysql in C:/TCAFiles\Users\AlexD\2161/resources//vrp_mysql
Found new resource warmenu-master in C:/TCAFiles\Users\AlexD\2161/resources//warmenu-master
Found new resource wk_wrs in C:/TCAFiles\Users\AlexD\2161/resources//wk_wrs
Found new resource race in C:/TCAFiles\Users\AlexD\2161/resources//[gamemodes]/race
Found new resource race-test in C:/TCAFiles\Users\AlexD\2161/resources//[gamemodes]/race-test
Found new resource channelfeed in C:/TCAFiles\Users\AlexD\2161/resources//[gameplay]/channelfeed
Found new resource irc in C:/TCAFiles\Users\AlexD\2161/resources//[gameplay]/irc
Found new resource obituary in C:/TCAFiles\Users\AlexD\2161/resources//[gameplay]/obituary
Found new resource obituary-deaths in C:/TCAFiles\Users\AlexD\2161/resources//[gameplay]/obituary-deaths
Found new resource mapmanager in C:/TCAFiles\Users\AlexD\2161/resources//[managers]/mapmanager
Found new resource baseevents in C:/TCAFiles\Users\AlexD\2161/resources//[system]/baseevents
Found new resource chat in C:/TCAFiles\Users\AlexD\2161/resources//[system]/chat
Found new resource hardcap in C:/TCAFiles\Users\AlexD\2161/resources//[system]/hardcap
Found new resource ■■■■■■■ in C:/TCAFiles\Users\AlexD\2161/resources//[system]/■■■■■■■
Found new resource scoreboard in C:/TCAFiles\Users\AlexD\2161/resources//[system]/scoreboard
Found new resource sessionmanager in C:/TCAFiles\Users\AlexD\2161/resources//[system]/sessionmanager
Found new resource spawnmanager in C:/TCAFiles\Users\AlexD\2161/resources//[system]/spawnmanager
Found new resource betaguns in C:/TCAFiles\Users\AlexD\2161/resources//[test]/betaguns
Found new resource gameInit in C:/TCAFiles\Users\AlexD\2161/resources//[test]/gameInit
Found new resource keks in C:/TCAFiles\Users\AlexD\2161/resources//[test]/keks
Started resource sessionmanager
Started resource mapmanager
Started resource chat
Started resource spawnmanager
Started resource fivem
Started gametype Freeroam
Started resource hardcap
Started resource ■■■■■■■
Started resource scoreboard
Started resource security-pack
Started resource warmenu-master
Started resource sfjrp_bcsopack
Started resource wk_wrs
Started resource InteractSound
Started resource PTTPoliceRadio
Error parsing script server/server.lua in resource els-fivem: server/server.lua:5: '}' expected (to close '{' at line 4) near 'polstang10'
Failed to load script server/server.lua.
Started resource els-fivem
Started resource vdk_call
Loaded MySQLAsync.net, Version=2.0.2.0, Culture=neutral, PublicKeyToken=null into ScriptDomain_1951737118
Instantiated instance of script MySQLAsync.MySQLAsync.
Started resource mysql-async
Started resource esplugin_mysql
Started resource essentialmode
Started resource k9
^3Couldn't find resource jailer.^7
Started resource es_bank
Started resource es_holdup
Error loading script server/server.lua in resource police: server/server.lua:5: attempt to index a nil value (global 'COPS_FIVEM_VERSION')
stack traceback:
   server/server.lua:5: in main chunk
Failed to load script server/server.lua.
Started resource police
Started resource es_garages
Started resource custom-peds
Authenticating server license key...
Server license key authentication succeeded. Welcome!
cfx> Resolved live-internal.fivem.net:30110 to 163.172.164.221:30110
Sending heartbeat to live-internal.fivem.net:30110
-------------------------------------------------------------
--- No errors detected, essentialmode is setup properly. ---
-------------------------------------------------------------

Current version: 5.0.0
Updater version: 5.0.0

Everything is fine!


---------- K9 VERSION ----------
K9 Script Updated and ready to go!
--------------------------------
Started resource fivem-map-hipster
Started map fivem-map-hipster
Loaded MySqlConnector, Version=0.26.0.0, Culture=neutral, PublicKeyToken=null into ScriptDomain_1951737118
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: Format of the initialization string does not conform to specification starting at index 0.

 at System.Data.Common.DbConnectionOptions.GetKeyValuePair (System.String connectionString, System.Int32 currentPosition, System.Text.StringBuilder buffer, System.Boolean useOdbcRules, System.String& keyname, System.String& keyvalue) [0x000d4] in <c660f5a12cac430aa34fafb29a22e588>:0 

 at System.Data.Common.DbConnectionOptions.ParseInternal (System.Collections.Hashtable parsetable, System.String connectionString, System.Boolean buildChain, System.Collections.Hashtable synonyms, System.Boolean firstKey) [0x0001c] in <c660f5a12cac430aa34fafb29a22e588>:0 

 at System.Data.Common.DbConnectionOptions..ctor (System.String connectionString, System.Collections.Hashtable synonyms, System.Boolean useOdbcRules) [0x00037] in <c660f5a12cac430aa34fafb29a22e588>:0 

 at System.Data.Common.DbConnectionStringBuilder.set_ConnectionString (System.String value) [0x00015] in <c660f5a12cac430aa34fafb29a22e588>:0 

 at MySql.Data.MySqlClient.MySqlConnectionStringBuilder..ctor (System.String connectionString) [0x00006] in <5d2e43c2aa6f4da0bb43a6a12077ad51>:0 

 at MySQLAsync.MySQLAsync.Configure (System.String connectionStringConfig, System.Boolean debug) [0x00000] in <6b79789832b34a31961dbb39358e1b3f>:0 

 at MySQLAsync.MySQLAsync.<.ctor>b__2_0 () [0x00047] in <6b79789832b34a31961dbb39358e1b3f>:0 

 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)

 at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0 

  --- End of inner exception stack trace ---





Server stack trace: 

 at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00048] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0 

 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0 

 at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x000e7] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0 

 at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00008] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0 

 at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0 

 at CitizenFX.Core.FunctionReference.Invoke (System.Int32 reference, System.Byte[] arguments) [0x00062] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client\clrcore\FunctionReference.cs:62 

 at CitizenFX.Core.InternalManager.CallRef (System.Int32 refIndex, System.Byte[] argsSerialized, System.IntPtr& retvalSerialized, System.Int32& retvalSize) [0x00000] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client\clrcore\InternalManager.cs:241 

 at (wrapper remoting-invoke-with-check) CitizenFX.Core.InternalManager:CallRef (int,byte[],intptr&,int&)

 at (wrapper xdomain-dispatch) CitizenFX.Core.InternalManager:CallRef (object,byte[]&,byte[]&,int,byte[],int&)



Exception rethrown at [0]: 

 at (wrapper xdomain-invoke) CitizenFX.Core.InternalManager:CallRef (int,byte[],intptr&,int&)

 at (wrapper remoting-invoke-with-check) CitizenFX.Core.InternalManager:CallRef (int,byte[],intptr&,int&)

 at CitizenFX.Core.MonoScriptRuntime.CallRef (System.Int32 refIndex, System.Byte[] argsSerialized, System.Int32 argsSize, System.IntPtr& retvalSerialized, System.Int32& retvalSize) [0x00013] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client\clrcore\MonoScriptRuntime.cs:151 
Error running system event handling function for resource mysql-async: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: citizen:/scripting/lua/scheduler.lua:663: An error happened while calling export mysql_configure of resource mysql-async (citizen:/scripting/lua/MessagePack.lua:830: missing bytes), see above for details
stack traceback:
   [C]: in function 'error'
   citizen:/scripting/lua/scheduler.lua:663: in method 'mysql_configure'
   lib/init.lua:3: in upvalue 'handler'
   citizen:/scripting/lua/scheduler.lua:175: in function <citizen:/scripting/lua/scheduler.lua:174>
stack traceback:
   [C]: in function 'error'
   citizen:/scripting/lua/scheduler.lua:41: in field 'CreateThreadNow'
   citizen:/scripting/lua/scheduler.lua:174: in function <citizen:/scripting/lua/scheduler.lua:138>
hitch warning: frame time of 3020 milliseconds

You have errors in it.

Error parsing script server/server.lua in resource els-fivem: server/server.lua:5: ‘}’ expected (to close ‘{’ at line 4) near 'polstang10’

Error loading script server/server.lua in resource police: server/server.lua:5: attempt to index a nil value (global ‘COPS_FIVEM_VERSION’)
stack traceback:
server/server.lua:5: in main chunk
Failed to load script server/server.lua.

Looks like your MySQL-Async is having issues connecting to your DB?

1 Like

ok i fixed that and now i get this

Access denied for command add_principal.

idk about that.

(20 chars)