Jump to content

Recommended Posts

Posted
2 minutes ago, Dr_Deacon said:

My MYSQL-Version:

  • Server-Typ: MariaDB
  • Server-Version: 10.1.29-MariaDB - mariadb.org binary distribution
  • Protokoll-Version: 10
  • Server-Zeichensatz: UTF-8 Unicode (utf8)

 

Do you mean the mysql.data.dll? <-- in the Runtimefolder

System.Text.Encoding.CodePages

That one.

Posted

Hello dear @Xabi,

I currently have some problems.

I'm a member of FiveM here with my servers switched to you, which I think is quite good;) Now I have downloaded your mod, but I still have a few bugs in DB Kinfiguration ... at This I need help from you / them. I have installed the installation to your specifications from Git. Only he brings me no connection to my DB. I've added a few pictures below to you or you. So slow I'm really despair;)

 

server_exceptions.txt

server_logs

 

 

I NEED HELP ;(

Posted (edited)
Hello Dear User,

can someone tell me how to insert a new database server with its own port in WiredPlayer right here?
I've already tried it by adjusting the meta.xml and the database.cs.

Secure Code DB

  <!-- Database connection settings -->
  <settings>
    <setting name="host" value="127.0.0.1"/>
    <setting name="port" value="3310"/>
    <setting name="username" value="username"/>
    <setting name="password" value="password"/>
    <setting name="database" value="database"/>
  </settings>
// Create the database connection string
            string host = NAPI.Resource.GetSetting<string>(this, "localhost");
            string user = NAPI.Resource.GetSetting<string>(this, "youreUserName");
            string pass = NAPI.Resource.GetSetting<string>(this, "yourePW");
            string db = NAPI.Resource.GetSetting<string>(this, "youreDBName");
            string port = NAPI.Resource.GetSetting<string>(this, "3310");
            connectionString = "SERVER=" + host + "PORT=" + port + "; DATABASE=" + db + "; UID=" + user + "; PASSWORD=" + pass + "; SSLMODE=none;";


Would be nice if someone could help me, because it is nerve-wracking if you have been working here for days, but with the DB I just can not get there;)

best regards
Shooter
Edited by Shooter
Posted
7 hours ago, Shooter said:

Hello Dear User,

can someone tell me how to insert a new database server with its own port in WiredPlayer right here?
I've already tried it by adjusting the meta.xml and the database.cs.

Secure Code DB


  <!-- Database connection settings -->
  <settings>
    <setting name="host" value="127.0.0.1"/>
    <setting name="port" value="3310"/>
    <setting name="username" value="username"/>
    <setting name="password" value="password"/>
    <setting name="database" value="database"/>
  </settings>

// Create the database connection string
            string host = NAPI.Resource.GetSetting<string>(this, "localhost");
            string user = NAPI.Resource.GetSetting<string>(this, "youreUserName");
            string pass = NAPI.Resource.GetSetting<string>(this, "yourePW");
            string db = NAPI.Resource.GetSetting<string>(this, "youreDBName");
            string port = NAPI.Resource.GetSetting<string>(this, "3310");
            connectionString = "SERVER=" + host + "PORT=" + port + "; DATABASE=" + db + "; UID=" + user + "; PASSWORD=" + pass + "; SSLMODE=none;";



Would be nice if someone could help me, because it is nerve-wracking if you have been working here for days, but with the DB I just can not get there;)

best regards
Shooter

You have to edit meta.xml, not the Database.cs file.

Posted

 

Unfortunately, I still get my old error that he does not find my database or that he can not connect to my DB server ;(

server_exceptions:


==================[21.10.2018 22:21:53]==================
System.IO.FileNotFoundException: Could not load the specified file.
File name: 'System.Net.Sockets.resources'
   at Assembly System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName assemblyName)
=========================================================

==================[21.10.2018 22:21:53]==================
System.IO.FileNotFoundException: Could not load the specified file.
File name: 'System.Net.Sockets.resources'
   at Assembly System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName assemblyName)
=========================================================

==================[21.10.2018 22:21:53]==================
MySql.Data.MySqlClient.MySqlException (0x80004005): Access denied for user ''@'OWNEROR-RPHSORP' (using password: NO)
   at MySqlPacket MySql.Data.MySqlClient.MySqlStream.ReadPacket()
=========================================================

==================[21.10.2018 22:21:53]==================
System.IO.FileNotFoundException: Could not load the specified file.
File name: 'MySql.Data.resources'
   at Assembly System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName assemblyName)
=========================================================

==================[21.10.2018 22:21:53]==================
System.IO.FileNotFoundException: Could not load the specified file.
File name: 'MySql.Data.resources'
   at Assembly System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName assemblyName)
=========================================================

==================[21.10.2018 22:21:53]==================
MySql.Data.MySqlClient.MySqlException (0x80004005): Authentication to host '' for user '' using method 'mysql_native_password' failed with message: Access denied for user ''@'OWNEROR-RPHSORP' (using password: NO) ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Access denied for user ''@'OWNEROR-RPHSORP' (using password: NO)
   at MySqlPacket MySql.Data.MySqlClient.MySqlStream.ReadPacket()
   at MySqlPacket MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket()
   at void MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.AuthenticationFailed(Exception ex)
=========================================================

==================[21.10.2018 22:21:53]==================
MySql.Data.MySqlClient.MySqlException (0x80004005): Authentication to host '' for user '' using method 'mysql_native_password' failed with message: Access denied for user ''@'OWNEROR-RPHSORP' (using password: NO) ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Access denied for user ''@'OWNEROR-RPHSORP' (using password: NO)
   at MySqlPacket MySql.Data.MySqlClient.MySqlStream.ReadPacket()
   at MySqlPacket MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket()
   at void MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.AuthenticationFailed(Exception ex)
   at MySqlPacket MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket()
   at void MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.Authenticate(bool reset)
   at void MySql.Data.MySqlClient.NativeDriver.Open()
   at void MySql.Data.MySqlClient.Driver.Open()
   at Driver MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings)
=========================================================

==================[21.10.2018 22:21:53]==================
MySql.Data.MySqlClient.MySqlException (0x80004005): Authentication to host '' for user '' using method 'mysql_native_password' failed with message: Access denied for user ''@'OWNEROR-RPHSORP' (using password: NO) ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Access denied for user ''@'OWNEROR-RPHSORP' (using password: NO)
   at MySqlPacket MySql.Data.MySqlClient.MySqlStream.ReadPacket()
   at MySqlPacket MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket()
   at void MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.AuthenticationFailed(Exception ex)
   at MySqlPacket MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket()
   at void MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.Authenticate(bool reset)
   at void MySql.Data.MySqlClient.NativeDriver.Open()
   at void MySql.Data.MySqlClient.Driver.Open()
   at Driver MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings)
   at Driver MySql.Data.MySqlClient.MySqlPool.CreateNewPooledConnection()
   at Driver MySql.Data.MySqlClient.MySqlPool.GetPooledConnection()
   at Driver MySql.Data.MySqlClient.MySqlPool.TryToGetDriver()
=========================================================

==================[21.10.2018 22:21:53]==================
MySql.Data.MySqlClient.MySqlException (0x80004005): Authentication to host '' for user '' using method 'mysql_native_password' failed with message: Access denied for user ''@'OWNEROR-RPHSORP' (using password: NO) ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Access denied for user ''@'OWNEROR-RPHSORP' (using password: NO)
   at MySqlPacket MySql.Data.MySqlClient.MySqlStream.ReadPacket()
   at MySqlPacket MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket()
   at void MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.AuthenticationFailed(Exception ex)
   at MySqlPacket MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket()
   at void MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.Authenticate(bool reset)
   at void MySql.Data.MySqlClient.NativeDriver.Open()
   at void MySql.Data.MySqlClient.Driver.Open()
   at Driver MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings)
   at Driver MySql.Data.MySqlClient.MySqlPool.CreateNewPooledConnection()
   at Driver MySql.Data.MySqlClient.MySqlPool.GetPooledConnection()
   at Driver MySql.Data.MySqlClient.MySqlPool.TryToGetDriver()
   at Driver MySql.Data.MySqlClient.MySqlPool.GetConnection()
   at void MySql.Data.MySqlClient.MySqlConnection.Open()
=========================================================

==================[21.10.2018 22:21:53]==================
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> MySql.Data.MySqlClient.MySqlException: Authentication to host '' for user '' using method 'mysql_native_password' failed with message: Access denied for user ''@'OWNEROR-RPHSORP' (using password: NO) ---> MySql.Data.MySqlClient.MySqlException: Access denied for user ''@'OWNEROR-RPHSORP' (using password: NO)
   at MySqlPacket MySql.Data.MySqlClient.MySqlStream.ReadPacket()
   at MySqlPacket MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket()
   --- End of inner exception stack trace ---
   at void MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.AuthenticationFailed(Exception ex)
   at MySqlPacket MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket()
   at void MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.Authenticate(bool reset)
   at void MySql.Data.MySqlClient.NativeDriver.Open()
   at void MySql.Data.MySqlClient.Driver.Open()
   at Driver MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings)
   at Driver MySql.Data.MySqlClient.MySqlPool.CreateNewPooledConnection()
   at Driver MySql.Data.MySqlClient.MySqlPool.GetPooledConnection()
   at Driver MySql.Data.MySqlClient.MySqlPool.TryToGetDriver()
   at Driver MySql.Data.MySqlClient.MySqlPool.GetConnection()
   at void MySql.Data.MySqlClient.MySqlConnection.Open()
   at List<BusinessModel> WiredPlayers.database.Database.LoadAllBusiness() in C:\RAGEMP\server-files\bridge\resources\WiredPlayers\database\Database.cs:line 1218
   at void WiredPlayers.business.Business.LoadDatabaseBusiness() in C:\RAGEMP\server-files\bridge\resources\WiredPlayers\business\Business.cs:line 19
   at void WiredPlayers.database.Database.OnResourceStart() in C:\RAGEMP\server-files\bridge\resources\WiredPlayers\database\Database.cs:line 40
   --- End of inner exception stack trace ---
   at object RuntimeMethodHandle.InvokeMethod(object target, object[] arguments, Signature sig, bool constructor)
   at object System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(object obj, object[] parameters, object[] arguments)
=========================================================

 

server_logs:

 

Initializing Bootstrapper.dll (0.3.5.1)..
-> SERVER STARTED AT 21.10.2018 22:21:51
Loaded 498 entries from vehicleData.json
Loading resources..
-> Starting WiredPlayers resource..
WiredPlayers: setting as Gamemode resource
WiredPlayers: loading scripts.. found 1 script(s)
WiredPlayers: instantiating WiredPlayers.weapons.Weapons..
WiredPlayers: instantiating WiredPlayers.vehicles.Vehicles..
WiredPlayers: instantiating WiredPlayers.townhall.TownHall..
WiredPlayers: instantiating WiredPlayers.parking.Parking..
WiredPlayers: instantiating WiredPlayers.model.SkinModel..
WiredPlayers: instantiating WiredPlayers.jobs.FastFood..
WiredPlayers: instantiating WiredPlayers.jobs.Fishing..
WiredPlayers: instantiating WiredPlayers.jobs.Garbage..
WiredPlayers: instantiating WiredPlayers.jobs.Hooker..
WiredPlayers: instantiating WiredPlayers.jobs.Job..
WiredPlayers: instantiating WiredPlayers.jobs.Mechanic..
WiredPlayers: instantiating WiredPlayers.jobs.Taxi..
WiredPlayers: instantiating WiredPlayers.jobs.Thief..
WiredPlayers: instantiating WiredPlayers.house.Furniture..
WiredPlayers: instantiating WiredPlayers.house.House..
WiredPlayers: instantiating WiredPlayers.globals.Globals..
WiredPlayers: instantiating WiredPlayers.factions.Emergency..
WiredPlayers: instantiating WiredPlayers.factions.Faction..
WiredPlayers: instantiating WiredPlayers.factions.Police..
WiredPlayers: instantiating WiredPlayers.factions.WeazelNews..
WiredPlayers: instantiating WiredPlayers.drivingschool.DrivingSchool..
WiredPlayers: instantiating WiredPlayers.database.Database..
WiredPlayers: instantiating WiredPlayers.chat.Chat..
WiredPlayers: instantiating WiredPlayers.character.Animations..
WiredPlayers: instantiating WiredPlayers.character.Customization..
WiredPlayers: instantiating WiredPlayers.character.Login..
WiredPlayers: instantiating WiredPlayers.character.Telephone..
WiredPlayers: instantiating WiredPlayers.business.Business..
WiredPlayers: instantiating WiredPlayers.business.CarShop..
WiredPlayers: instantiating WiredPlayers.bank.Bank..
WiredPlayers: instantiating WiredPlayers.admin.Admin..
WiredPlayers: loading server events.. found 5 server event(s)
WiredPlayers: loading server events.. found 4 server event(s)
WiredPlayers: loading server events.. found 1 server event(s)
WiredPlayers: loading server events.. found 3 server event(s)
WiredPlayers: loading server events.. found 3 server event(s)
WiredPlayers: loading server events.. found 1 server event(s)
WiredPlayers: loading server events.. found 1 server event(s)
WiredPlayers: loading server events.. found 2 server event(s)
WiredPlayers: loading server events.. found 3 server event(s)
WiredPlayers: loading server events.. found 1 server event(s)
WiredPlayers: loading server events.. found 2 server event(s)
WiredPlayers: loading server events.. found 1 server event(s)
WiredPlayers: loading server events.. found 5 server event(s)
WiredPlayers: loading server events.. found 1 server event(s)
WiredPlayers: loading server events.. found 1 server event(s)
WiredPlayers: loading server events.. found 1 server event(s)
WiredPlayers: loading server events.. found 2 server event(s)
WiredPlayers: loaded 37 server events(s)
WiredPlayers: loading commands.. found 1 command(s)
WiredPlayers: loading commands.. found 9 command(s)
WiredPlayers: loading commands.. found 1 command(s)
WiredPlayers: loading commands.. found 2 command(s)
WiredPlayers: loading commands.. found 1 command(s)
WiredPlayers: loading commands.. found 1 command(s)
WiredPlayers: loading commands.. found 1 command(s)
WiredPlayers: loading commands.. found 1 command(s)
WiredPlayers: loading commands.. found 2 command(s)
WiredPlayers: loading commands.. found 3 command(s)
WiredPlayers: loading commands.. found 4 command(s)
WiredPlayers: loading commands.. found 1 command(s)
WiredPlayers: loading commands.. found 3 command(s)
WiredPlayers: loading commands.. found 18 command(s)
WiredPlayers: loading commands.. found 4 command(s)
WiredPlayers: loading commands.. found 13 command(s)
WiredPlayers: loading commands.. found 12 command(s)
WiredPlayers: loading commands.. found 5 command(s)
WiredPlayers: loading commands.. found 2 command(s)
WiredPlayers: loading commands.. found 10 command(s)
WiredPlayers: loading commands.. found 56 command(s)
WiredPlayers: loading commands.. found 5 command(s)
WiredPlayers: loading commands.. found 1 command(s)
WiredPlayers: loading commands.. found 29 command(s)
WiredPlayers: loaded 185 commands(s)
WiredPlayers: loading remote events.. found 1 remote event(s)
WiredPlayers: loading remote events.. found 3 remote event(s)
WiredPlayers: loading remote events.. found 2 remote event(s)
WiredPlayers: loading remote events.. found 1 remote event(s)
WiredPlayers: loading remote events.. found 4 remote event(s)
WiredPlayers: loading remote events.. found 6 remote event(s)
WiredPlayers: loading remote events.. found 2 remote event(s)
WiredPlayers: loading remote events.. found 2 remote event(s)
WiredPlayers: loading remote events.. found 6 remote event(s)
WiredPlayers: loading remote events.. found 3 remote event(s)
WiredPlayers: loading remote events.. found 1 remote event(s)
WiredPlayers: loading remote events.. found 6 remote event(s)
WiredPlayers: loading remote events.. found 4 remote event(s)
WiredPlayers: loading remote events.. found 8 remote event(s)
WiredPlayers: loading remote events.. found 2 remote event(s)
WiredPlayers: loading remote events.. found 2 remote event(s)
WiredPlayers: loaded 53 remote event(s)
-> Error starting 'WiredPlayers'
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> MySql.Data.MySqlClient.MySqlException: Authentication to host '' for user '' using method 'mysql_native_password' failed with message: Access denied for user ''@'OWNEROR-RPHSORP' (using password: NO) ---> MySql.Data.MySqlClient.MySqlException: Access denied for user ''@'OWNEROR-RPHSORP' (using password: NO)
   at MySqlPacket MySql.Data.MySqlClient.MySqlStream.ReadPacket()
   at MySqlPacket MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket()
   --- End of inner exception stack trace ---
   at void MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.AuthenticationFailed(Exception ex)
   at MySqlPacket MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket()
   at void MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.Authenticate(bool reset)
   at void MySql.Data.MySqlClient.NativeDriver.Open()
   at void MySql.Data.MySqlClient.Driver.Open()
   at Driver MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings)
   at Driver MySql.Data.MySqlClient.MySqlPool.CreateNewPooledConnection()
   at Driver MySql.Data.MySqlClient.MySqlPool.GetPooledConnection()
   at Driver MySql.Data.MySqlClient.MySqlPool.TryToGetDriver()
   at Driver MySql.Data.MySqlClient.MySqlPool.GetConnection()
   at void MySql.Data.MySqlClient.MySqlConnection.Open()
   at List<BusinessModel> WiredPlayers.database.Database.LoadAllBusiness() in C:\RAGEMP\server-files\bridge\resources\WiredPlayers\database\Database.cs:line 1218
   at void WiredPlayers.business.Business.LoadDatabaseBusiness() in C:\RAGEMP\server-files\bridge\resources\WiredPlayers\business\Business.cs:line 19
   at void WiredPlayers.database.Database.OnResourceStart() in C:\RAGEMP\server-files\bridge\resources\WiredPlayers\database\Database.cs:line 40
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at GTANetworkInternals.ScriptingEngine.InvokeVoidMethod(String method, Object[] args)
   at System.Collections.Generic.List`1.ForEach(Action`1 action)
   at GTANetworkInternals.EventHandler.ParseEx(Event _event, ScriptingEngine engine, Object[] arguments)
   at System.Collections.Generic.List`1.ForEach(Action`1 action)
   at GTANetworkInternals.GameServer.StartResource(String resourceName, String parent)

Started! Waiting for connections..

 

Posted
9 hours ago, Shooter said:

 

Unfortunately, I still get my old error that he does not find my database or that he can not connect to my DB server ;(

server_exceptions:



==================[21.10.2018 22:21:53]==================
System.IO.FileNotFoundException: Could not load the specified file.
File name: 'System.Net.Sockets.resources'
   at Assembly System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName assemblyName)
=========================================================

==================[21.10.2018 22:21:53]==================
System.IO.FileNotFoundException: Could not load the specified file.
File name: 'System.Net.Sockets.resources'
   at Assembly System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName assemblyName)
=========================================================

==================[21.10.2018 22:21:53]==================
MySql.Data.MySqlClient.MySqlException (0x80004005): Access denied for user ''@'OWNEROR-RPHSORP' (using password: NO)
   at MySqlPacket MySql.Data.MySqlClient.MySqlStream.ReadPacket()
=========================================================

==================[21.10.2018 22:21:53]==================
System.IO.FileNotFoundException: Could not load the specified file.
File name: 'MySql.Data.resources'
   at Assembly System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName assemblyName)
=========================================================

==================[21.10.2018 22:21:53]==================
System.IO.FileNotFoundException: Could not load the specified file.
File name: 'MySql.Data.resources'
   at Assembly System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName assemblyName)
=========================================================

==================[21.10.2018 22:21:53]==================
MySql.Data.MySqlClient.MySqlException (0x80004005): Authentication to host '' for user '' using method 'mysql_native_password' failed with message: Access denied for user ''@'OWNEROR-RPHSORP' (using password: NO) ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Access denied for user ''@'OWNEROR-RPHSORP' (using password: NO)
   at MySqlPacket MySql.Data.MySqlClient.MySqlStream.ReadPacket()
   at MySqlPacket MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket()
   at void MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.AuthenticationFailed(Exception ex)
=========================================================

==================[21.10.2018 22:21:53]==================
MySql.Data.MySqlClient.MySqlException (0x80004005): Authentication to host '' for user '' using method 'mysql_native_password' failed with message: Access denied for user ''@'OWNEROR-RPHSORP' (using password: NO) ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Access denied for user ''@'OWNEROR-RPHSORP' (using password: NO)
   at MySqlPacket MySql.Data.MySqlClient.MySqlStream.ReadPacket()
   at MySqlPacket MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket()
   at void MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.AuthenticationFailed(Exception ex)
   at MySqlPacket MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket()
   at void MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.Authenticate(bool reset)
   at void MySql.Data.MySqlClient.NativeDriver.Open()
   at void MySql.Data.MySqlClient.Driver.Open()
   at Driver MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings)
=========================================================

==================[21.10.2018 22:21:53]==================
MySql.Data.MySqlClient.MySqlException (0x80004005): Authentication to host '' for user '' using method 'mysql_native_password' failed with message: Access denied for user ''@'OWNEROR-RPHSORP' (using password: NO) ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Access denied for user ''@'OWNEROR-RPHSORP' (using password: NO)
   at MySqlPacket MySql.Data.MySqlClient.MySqlStream.ReadPacket()
   at MySqlPacket MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket()
   at void MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.AuthenticationFailed(Exception ex)
   at MySqlPacket MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket()
   at void MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.Authenticate(bool reset)
   at void MySql.Data.MySqlClient.NativeDriver.Open()
   at void MySql.Data.MySqlClient.Driver.Open()
   at Driver MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings)
   at Driver MySql.Data.MySqlClient.MySqlPool.CreateNewPooledConnection()
   at Driver MySql.Data.MySqlClient.MySqlPool.GetPooledConnection()
   at Driver MySql.Data.MySqlClient.MySqlPool.TryToGetDriver()
=========================================================

==================[21.10.2018 22:21:53]==================
MySql.Data.MySqlClient.MySqlException (0x80004005): Authentication to host '' for user '' using method 'mysql_native_password' failed with message: Access denied for user ''@'OWNEROR-RPHSORP' (using password: NO) ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Access denied for user ''@'OWNEROR-RPHSORP' (using password: NO)
   at MySqlPacket MySql.Data.MySqlClient.MySqlStream.ReadPacket()
   at MySqlPacket MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket()
   at void MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.AuthenticationFailed(Exception ex)
   at MySqlPacket MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket()
   at void MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.Authenticate(bool reset)
   at void MySql.Data.MySqlClient.NativeDriver.Open()
   at void MySql.Data.MySqlClient.Driver.Open()
   at Driver MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings)
   at Driver MySql.Data.MySqlClient.MySqlPool.CreateNewPooledConnection()
   at Driver MySql.Data.MySqlClient.MySqlPool.GetPooledConnection()
   at Driver MySql.Data.MySqlClient.MySqlPool.TryToGetDriver()
   at Driver MySql.Data.MySqlClient.MySqlPool.GetConnection()
   at void MySql.Data.MySqlClient.MySqlConnection.Open()
=========================================================

==================[21.10.2018 22:21:53]==================
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> MySql.Data.MySqlClient.MySqlException: Authentication to host '' for user '' using method 'mysql_native_password' failed with message: Access denied for user ''@'OWNEROR-RPHSORP' (using password: NO) ---> MySql.Data.MySqlClient.MySqlException: Access denied for user ''@'OWNEROR-RPHSORP' (using password: NO)
   at MySqlPacket MySql.Data.MySqlClient.MySqlStream.ReadPacket()
   at MySqlPacket MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket()
   --- End of inner exception stack trace ---
   at void MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.AuthenticationFailed(Exception ex)
   at MySqlPacket MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket()
   at void MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.Authenticate(bool reset)
   at void MySql.Data.MySqlClient.NativeDriver.Open()
   at void MySql.Data.MySqlClient.Driver.Open()
   at Driver MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings)
   at Driver MySql.Data.MySqlClient.MySqlPool.CreateNewPooledConnection()
   at Driver MySql.Data.MySqlClient.MySqlPool.GetPooledConnection()
   at Driver MySql.Data.MySqlClient.MySqlPool.TryToGetDriver()
   at Driver MySql.Data.MySqlClient.MySqlPool.GetConnection()
   at void MySql.Data.MySqlClient.MySqlConnection.Open()
   at List<BusinessModel> WiredPlayers.database.Database.LoadAllBusiness() in C:\RAGEMP\server-files\bridge\resources\WiredPlayers\database\Database.cs:line 1218
   at void WiredPlayers.business.Business.LoadDatabaseBusiness() in C:\RAGEMP\server-files\bridge\resources\WiredPlayers\business\Business.cs:line 19
   at void WiredPlayers.database.Database.OnResourceStart() in C:\RAGEMP\server-files\bridge\resources\WiredPlayers\database\Database.cs:line 40
   --- End of inner exception stack trace ---
   at object RuntimeMethodHandle.InvokeMethod(object target, object[] arguments, Signature sig, bool constructor)
   at object System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(object obj, object[] parameters, object[] arguments)
=========================================================

 

server_logs:

 


Initializing Bootstrapper.dll (0.3.5.1)..
-> SERVER STARTED AT 21.10.2018 22:21:51
Loaded 498 entries from vehicleData.json
Loading resources..
-> Starting WiredPlayers resource..
WiredPlayers: setting as Gamemode resource
WiredPlayers: loading scripts.. found 1 script(s)
WiredPlayers: instantiating WiredPlayers.weapons.Weapons..
WiredPlayers: instantiating WiredPlayers.vehicles.Vehicles..
WiredPlayers: instantiating WiredPlayers.townhall.TownHall..
WiredPlayers: instantiating WiredPlayers.parking.Parking..
WiredPlayers: instantiating WiredPlayers.model.SkinModel..
WiredPlayers: instantiating WiredPlayers.jobs.FastFood..
WiredPlayers: instantiating WiredPlayers.jobs.Fishing..
WiredPlayers: instantiating WiredPlayers.jobs.Garbage..
WiredPlayers: instantiating WiredPlayers.jobs.Hooker..
WiredPlayers: instantiating WiredPlayers.jobs.Job..
WiredPlayers: instantiating WiredPlayers.jobs.Mechanic..
WiredPlayers: instantiating WiredPlayers.jobs.Taxi..
WiredPlayers: instantiating WiredPlayers.jobs.Thief..
WiredPlayers: instantiating WiredPlayers.house.Furniture..
WiredPlayers: instantiating WiredPlayers.house.House..
WiredPlayers: instantiating WiredPlayers.globals.Globals..
WiredPlayers: instantiating WiredPlayers.factions.Emergency..
WiredPlayers: instantiating WiredPlayers.factions.Faction..
WiredPlayers: instantiating WiredPlayers.factions.Police..
WiredPlayers: instantiating WiredPlayers.factions.WeazelNews..
WiredPlayers: instantiating WiredPlayers.drivingschool.DrivingSchool..
WiredPlayers: instantiating WiredPlayers.database.Database..
WiredPlayers: instantiating WiredPlayers.chat.Chat..
WiredPlayers: instantiating WiredPlayers.character.Animations..
WiredPlayers: instantiating WiredPlayers.character.Customization..
WiredPlayers: instantiating WiredPlayers.character.Login..
WiredPlayers: instantiating WiredPlayers.character.Telephone..
WiredPlayers: instantiating WiredPlayers.business.Business..
WiredPlayers: instantiating WiredPlayers.business.CarShop..
WiredPlayers: instantiating WiredPlayers.bank.Bank..
WiredPlayers: instantiating WiredPlayers.admin.Admin..
WiredPlayers: loading server events.. found 5 server event(s)
WiredPlayers: loading server events.. found 4 server event(s)
WiredPlayers: loading server events.. found 1 server event(s)
WiredPlayers: loading server events.. found 3 server event(s)
WiredPlayers: loading server events.. found 3 server event(s)
WiredPlayers: loading server events.. found 1 server event(s)
WiredPlayers: loading server events.. found 1 server event(s)
WiredPlayers: loading server events.. found 2 server event(s)
WiredPlayers: loading server events.. found 3 server event(s)
WiredPlayers: loading server events.. found 1 server event(s)
WiredPlayers: loading server events.. found 2 server event(s)
WiredPlayers: loading server events.. found 1 server event(s)
WiredPlayers: loading server events.. found 5 server event(s)
WiredPlayers: loading server events.. found 1 server event(s)
WiredPlayers: loading server events.. found 1 server event(s)
WiredPlayers: loading server events.. found 1 server event(s)
WiredPlayers: loading server events.. found 2 server event(s)
WiredPlayers: loaded 37 server events(s)
WiredPlayers: loading commands.. found 1 command(s)
WiredPlayers: loading commands.. found 9 command(s)
WiredPlayers: loading commands.. found 1 command(s)
WiredPlayers: loading commands.. found 2 command(s)
WiredPlayers: loading commands.. found 1 command(s)
WiredPlayers: loading commands.. found 1 command(s)
WiredPlayers: loading commands.. found 1 command(s)
WiredPlayers: loading commands.. found 1 command(s)
WiredPlayers: loading commands.. found 2 command(s)
WiredPlayers: loading commands.. found 3 command(s)
WiredPlayers: loading commands.. found 4 command(s)
WiredPlayers: loading commands.. found 1 command(s)
WiredPlayers: loading commands.. found 3 command(s)
WiredPlayers: loading commands.. found 18 command(s)
WiredPlayers: loading commands.. found 4 command(s)
WiredPlayers: loading commands.. found 13 command(s)
WiredPlayers: loading commands.. found 12 command(s)
WiredPlayers: loading commands.. found 5 command(s)
WiredPlayers: loading commands.. found 2 command(s)
WiredPlayers: loading commands.. found 10 command(s)
WiredPlayers: loading commands.. found 56 command(s)
WiredPlayers: loading commands.. found 5 command(s)
WiredPlayers: loading commands.. found 1 command(s)
WiredPlayers: loading commands.. found 29 command(s)
WiredPlayers: loaded 185 commands(s)
WiredPlayers: loading remote events.. found 1 remote event(s)
WiredPlayers: loading remote events.. found 3 remote event(s)
WiredPlayers: loading remote events.. found 2 remote event(s)
WiredPlayers: loading remote events.. found 1 remote event(s)
WiredPlayers: loading remote events.. found 4 remote event(s)
WiredPlayers: loading remote events.. found 6 remote event(s)
WiredPlayers: loading remote events.. found 2 remote event(s)
WiredPlayers: loading remote events.. found 2 remote event(s)
WiredPlayers: loading remote events.. found 6 remote event(s)
WiredPlayers: loading remote events.. found 3 remote event(s)
WiredPlayers: loading remote events.. found 1 remote event(s)
WiredPlayers: loading remote events.. found 6 remote event(s)
WiredPlayers: loading remote events.. found 4 remote event(s)
WiredPlayers: loading remote events.. found 8 remote event(s)
WiredPlayers: loading remote events.. found 2 remote event(s)
WiredPlayers: loading remote events.. found 2 remote event(s)
WiredPlayers: loaded 53 remote event(s)
-> Error starting 'WiredPlayers'
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> MySql.Data.MySqlClient.MySqlException: Authentication to host '' for user '' using method 'mysql_native_password' failed with message: Access denied for user ''@'OWNEROR-RPHSORP' (using password: NO) ---> MySql.Data.MySqlClient.MySqlException: Access denied for user ''@'OWNEROR-RPHSORP' (using password: NO)
   at MySqlPacket MySql.Data.MySqlClient.MySqlStream.ReadPacket()
   at MySqlPacket MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket()
   --- End of inner exception stack trace ---
   at void MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.AuthenticationFailed(Exception ex)
   at MySqlPacket MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket()
   at void MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.Authenticate(bool reset)
   at void MySql.Data.MySqlClient.NativeDriver.Open()
   at void MySql.Data.MySqlClient.Driver.Open()
   at Driver MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings)
   at Driver MySql.Data.MySqlClient.MySqlPool.CreateNewPooledConnection()
   at Driver MySql.Data.MySqlClient.MySqlPool.GetPooledConnection()
   at Driver MySql.Data.MySqlClient.MySqlPool.TryToGetDriver()
   at Driver MySql.Data.MySqlClient.MySqlPool.GetConnection()
   at void MySql.Data.MySqlClient.MySqlConnection.Open()
   at List<BusinessModel> WiredPlayers.database.Database.LoadAllBusiness() in C:\RAGEMP\server-files\bridge\resources\WiredPlayers\database\Database.cs:line 1218
   at void WiredPlayers.business.Business.LoadDatabaseBusiness() in C:\RAGEMP\server-files\bridge\resources\WiredPlayers\business\Business.cs:line 19
   at void WiredPlayers.database.Database.OnResourceStart() in C:\RAGEMP\server-files\bridge\resources\WiredPlayers\database\Database.cs:line 40
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at GTANetworkInternals.ScriptingEngine.InvokeVoidMethod(String method, Object[] args)
   at System.Collections.Generic.List`1.ForEach(Action`1 action)
   at GTANetworkInternals.EventHandler.ParseEx(Event _event, ScriptingEngine engine, Object[] arguments)
   at System.Collections.Generic.List`1.ForEach(Action`1 action)
   at GTANetworkInternals.GameServer.StartResource(String resourceName, String parent)

Started! Waiting for connections..

 

Did you recompile after reverting changes on Database.cs? Also there's a library missing on runtime folder.

Posted

 

Hello Xabi,

which file should be missing in my runtime ...

I have all the data from the file:

  • bridge-package ( what you have listed in your github ) inserted with me, as well as the data you have in your
  • WiredPlayers RP master also added in my runtime ...

 

Would now like to know which file should still be missing in my runtime.

 

best regards

Shooter

And a thank you for your support

and sorry for my not so good English

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...