Дорогие форумчане. Прошу у Вас помощи.
Кто может помочь решить данную проблему?
Кто может помочь решить данную проблему?
Код:
18:34 | Error | Elections | MySqlConnector.MySqlException (0x80004005): Unable to connect to any of the specified MySQL hosts.
at MySqlConnector.Core.ServerSession.ConnectAsync(ConnectionSettings cs, Int32 startTickCount, ILoadBalancer loadBalancer, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 473
at MySqlConnector.Core.ConnectionPool.GetSessionAsync(MySqlConnection connection, Int32 startTickCount, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ConnectionPool.cs:line 111
at MySqlConnector.Core.ConnectionPool.GetSessionAsync(MySqlConnection connection, Int32 startTickCount, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ConnectionPool.cs:line 140
at MySqlConnector.MySqlConnection.CreateSessionAsync(ConnectionPool pool, Int32 startTickCount, Nullable`1 ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlConnection.cs:line 819
at MySqlConnector.MySqlConnection.OpenAsync(Nullable`1 ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlConnection.cs:line 399
at MySqlConnector.MySqlConnection.Open() in /_/src/MySqlConnector/MySqlConnection.cs:line 365
at NeptuneEVO.SDK.MySQL.QueryRead(MySqlCommand command) in C:\Users\user\Downloads\freedomrp_ragemp.pro\Freedom-Project\dotnet\resources\NeptuneEvoSDK\MySQL.cs:line 163
at NeptuneEVO.SDK.MySQL.QueryRead(String command) in C:\Users\user\Downloads\freedomrp_ragemp.pro\Freedom-Project\dotnet\resources\NeptuneEvoSDK\MySQL.cs:line 183
at NeptuneEVO.Fractions.ElectionsSystem.LoadElections() in C:\Users\user\Downloads\freedomrp_ragemp.pro\Freedom-Project\dotnet\resources\NeptuneEvo\Fractions\Elections.cs:line 131
NeptuneEvo: instantiating NeptuneEVO.Trigger..
NeptuneEvo: instantiating NeptuneEVO.Voice.Voice..
Room VoiceRoom created
NeptuneEvo: instantiating NeptuneEVO.Entertainment.GunGame..
NeptuneEvo: instantiating NeptuneEVO.MoneySystem.Bank..
18:34 | Info | BankSystem | Loading Bank Accounts...
Connection refused 127.0.0.1:3306
Unable to connect to any of the specified MySQL hosts.
Unable to connect to any of the specified MySQL hosts.
Unable to connect to any of the specified MySQL hosts.
Unable to connect to any of the specified MySQL hosts.
Unable to connect to any of the specified MySQL hosts.
Unable to connect to any of the specified MySQL hosts.
Unable to connect to any of the specified MySQL hosts.
Exception has been thrown by the target of an invocation.
-> Error starting 'NeptuneEvo'
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> MySqlConnector.MySqlException (0x80004005): Unable to connect to any of the specified MySQL hosts.
at async Task MySqlConnector.Core.ServerSession.ConnectAsync(ConnectionSettings cs, int startTickCount, ILoadBalancer loadBalancer, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 473
at async ValueTask<ServerSession> MySqlConnector.Core.ConnectionPool.GetSessionAsync(MySqlConnection connection, int startTickCount, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ConnectionPool.cs:line 111
at async ValueTask<ServerSession> MySqlConnector.Core.ConnectionPool.GetSessionAsync(MySqlConnection connection, int startTickCount, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ConnectionPool.cs:line 140
at TResult System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable<TResult>+ConfiguredValueTaskAwaiter.GetResult()
at async ValueTask<ServerSession> MySqlConnector.MySqlConnection.CreateSessionAsync(ConnectionPool pool, int startTickCount, IOBehavior? ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlConnection.cs:line 819
at TResult System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable<TResult>+ConfiguredValueTaskAwaiter.GetResult()
at async Task MySqlConnector.MySqlConnection.OpenAsync(IOBehavior? ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlConnection.cs:line 399
at void MySqlConnector.MySqlConnection.Open() in /_/src/MySqlConnector/MySqlConnection.cs:line 365
at DataTable NeptuneEVO.SDK.MySQL.QueryRead(MySqlCommand command) in C:/Users/user/Downloads/freedomrp_ragemp.pro/Freedom-Project/dotnet/resources/NeptuneEvoSDK/MySQL.cs:line 163
at DataTable NeptuneEVO.SDK.MySQL.QueryRead(string command) in C:/Users/user/Downloads/freedomrp_ragemp.pro/Freedom-Project/dotnet/resources/NeptuneEvoSDK/MySQL.cs:line 183
at new NeptuneEVO.MoneySystem.Bank() in C:/Users/user/Downloads/freedomrp_ragemp.pro/Freedom-Project/dotnet/resources/NeptuneEvo/MoneySystem/Bank.cs:line 47
--- End of inner exception stack trace ---
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean wrapExceptions, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& hasNoDefaultCtor)
at System.RuntimeType.CreateInstanceDefaultCtorSlow(Boolean publicOnly, Boolean wrapExceptions, Boolean fillCache)
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, Boolean wrapExceptions)
at System.Activator.CreateInstance(Type type, Boolean nonPublic, Boolean wrapExceptions)
at GTANetworkInternals.GameServer.InstantiateScripts(Assembly targetAssembly, String resourceName)+MoveNext()
at System.Linq.Enumerable.SelectEnumerableIterator`2.MoveNext()
at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
at GTANetworkInternals.GameServer.StartResource(String resourceName, String parent)