Что нового

3 ошибки на любой сборке не могу решить help!!!

GODLOS

Посетитель
R-Коины
2
11:18:03.788 | Error | ReportSys | Init: MySqlConnector.MySqlException (0x80004005): Access denied for user 'root'@'localhost' (using password: NO)
at MySqlConnector.Core.ServerSession.SwitchAuthenticationAsync(ConnectionSettings cs, PayloadData payload, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 596
at MySqlConnector.Core.ServerSession.ConnectAsync(ConnectionSettings cs, Int32 startTickCount, ILoadBalancer loadBalancer, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 467
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 846
at MySqlConnector.MySqlConnection.OpenAsync(Nullable`1 ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlConnection.cs:line 410
at MySqlConnector.MySqlConnection.Open() in /_/src/MySqlConnector/MySqlConnection.cs:line 376
at MadGames.SDK.MySQL.QueryRead(MySqlCommand command) in H:\444\MadGame\dotnet\resources\server\MySQL.cs:line 156
at MadGames.SDK.MySQL.QueryRead(String command) in H:\444\MadGame\dotnet\resources\server\MySQL.cs:line 176
at MadGame.Core.ReportSys.Init() in H:\444\MadGame\dotnet\resources\client\Core\Report.cs:line 64
Access denied for user 'root'@'localhost' (using password: NO)
Access denied for user 'root'@'localhost' (using password: NO)
Access denied for user 'root'@'localhost' (using password: NO)
Access denied for user 'root'@'localhost' (using password: NO)
Access denied for user 'root'@'localhost' (using password: NO)
Access denied for user 'root'@'localhost' (using password: NO)
Access denied for user 'root'@'localhost' (using password: NO)
Access denied for user 'root'@'localhost' (using password: NO)
11:18:03.797 | Error | News | Init: MySqlConnector.MySqlException (0x80004005): Access denied for user 'root'@'localhost' (using password: NO)
at MySqlConnector.Core.ServerSession.SwitchAuthenticationAsync(ConnectionSettings cs, PayloadData payload, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 596
at MySqlConnector.Core.ServerSession.ConnectAsync(ConnectionSettings cs, Int32 startTickCount, ILoadBalancer loadBalancer, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 467
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 846
at MySqlConnector.MySqlConnection.OpenAsync(Nullable`1 ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlConnection.cs:line 410
at MySqlConnector.MySqlConnection.Open() in /_/src/MySqlConnector/MySqlConnection.cs:line 376
at MadGames.SDK.MySQL.QueryRead(MySqlCommand command) in H:\444\MadGame\dotnet\resources\server\MySQL.cs:line 156
at MadGames.SDK.MySQL.QueryRead(String command) in H:\444\MadGame\dotnet\resources\server\MySQL.cs:line 176
at MadGame.Fractions.LSNews.Init() in H:\444\MadGame\dotnet\resources\client\Fractions\LSNews.cs:line 151
client: instantiating MadGame.Trigger..
client: instantiating MadGame.Voice.Voice..
Room VoiceRoom created
client: instantiating MadGame.VehicleHandlers.SpeedChecker..
client: instantiating MadGame.MoneySystem.Bank..
11:18:03.860 | Info | BankSystem | Loading Bank Accounts...
Access denied for user 'root'@'localhost' (using password: NO)
Access denied for user 'root'@'localhost' (using password: NO)
Access denied for user 'root'@'localhost' (using password: NO)
Access denied for user 'root'@'localhost' (using password: NO)
Access denied for user 'root'@'localhost' (using password: NO)
Access denied for user 'root'@'localhost' (using password: NO)
Access denied for user 'root'@'localhost' (using password: NO)
Access denied for user 'root'@'localhost' (using password: NO)
Exception has been thrown by the target of an invocation.
-> Error starting 'client'
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> MySqlConnector.MySqlException (0x80004005): Access denied for user 'root'@'localhost' (using password: NO)
at TResult System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable<TResult>+ConfiguredValueTaskAwaiter.GetResult()
at async Task<PayloadData> MySqlConnector.Core.ServerSession.SwitchAuthenticationAsync(ConnectionSettings cs, PayloadData payload, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 596
at async Task MySqlConnector.Core.ServerSession.ConnectAsync(ConnectionSettings cs, int startTickCount, ILoadBalancer loadBalancer, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 467
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 846
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 410
at void MySqlConnector.MySqlConnection.Open() in /_/src/MySqlConnector/MySqlConnection.cs:line 376
at DataTable MadGames.SDK.MySQL.QueryRead(MySqlCommand command) in H:/444/MadGame/dotnet/resources/server/MySQL.cs:line 156
at DataTable MadGames.SDK.MySQL.QueryRead(string command) in H:/444/MadGame/dotnet/resources/server/MySQL.cs:line 176 at new MadGame.MoneySystem.Bank() in H:/444/MadGame/dotnet/resources/client/MoneySystem/Bank.cs:line 34
--- 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)
 
Последнее редактирование:
11:18:03.788 | Error | ReportSys | Init: MySqlConnector.MySqlException (0x80004005): Access denied for user 'root'@'localhost' (using password: NO)
at MySqlConnector.Core.ServerSession.SwitchAuthenticationAsync(ConnectionSettings cs, PayloadData payload, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 596
at MySqlConnector.Core.ServerSession.ConnectAsync(ConnectionSettings cs, Int32 startTickCount, ILoadBalancer loadBalancer, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 467
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 846
at MySqlConnector.MySqlConnection.OpenAsync(Nullable`1 ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlConnection.cs:line 410
at MySqlConnector.MySqlConnection.Open() in /_/src/MySqlConnector/MySqlConnection.cs:line 376
at MadGames.SDK.MySQL.QueryRead(MySqlCommand command) in H:\444\MadGame\dotnet\resources\server\MySQL.cs:line 156
at MadGames.SDK.MySQL.QueryRead(String command) in H:\444\MadGame\dotnet\resources\server\MySQL.cs:line 176
at MadGame.Core.ReportSys.Init() in H:\444\MadGame\dotnet\resources\client\Core\Report.cs:line 64
Access denied for user 'root'@'localhost' (using password: NO)
Access denied for user 'root'@'localhost' (using password: NO)
Access denied for user 'root'@'localhost' (using password: NO)
Access denied for user 'root'@'localhost' (using password: NO)
Access denied for user 'root'@'localhost' (using password: NO)
Access denied for user 'root'@'localhost' (using password: NO)
Access denied for user 'root'@'localhost' (using password: NO)
Access denied for user 'root'@'localhost' (using password: NO)
11:18:03.797 | Error | News | Init: MySqlConnector.MySqlException (0x80004005): Access denied for user 'root'@'localhost' (using password: NO)
at MySqlConnector.Core.ServerSession.SwitchAuthenticationAsync(ConnectionSettings cs, PayloadData payload, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 596
at MySqlConnector.Core.ServerSession.ConnectAsync(ConnectionSettings cs, Int32 startTickCount, ILoadBalancer loadBalancer, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 467
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 846
at MySqlConnector.MySqlConnection.OpenAsync(Nullable`1 ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlConnection.cs:line 410
at MySqlConnector.MySqlConnection.Open() in /_/src/MySqlConnector/MySqlConnection.cs:line 376
at MadGames.SDK.MySQL.QueryRead(MySqlCommand command) in H:\444\MadGame\dotnet\resources\server\MySQL.cs:line 156
at MadGames.SDK.MySQL.QueryRead(String command) in H:\444\MadGame\dotnet\resources\server\MySQL.cs:line 176
at MadGame.Fractions.LSNews.Init() in H:\444\MadGame\dotnet\resources\client\Fractions\LSNews.cs:line 151
client: instantiating MadGame.Trigger..
client: instantiating MadGame.Voice.Voice..
Room VoiceRoom created
client: instantiating MadGame.VehicleHandlers.SpeedChecker..
client: instantiating MadGame.MoneySystem.Bank..
11:18:03.860 | Info | BankSystem | Loading Bank Accounts...
Access denied for user 'root'@'localhost' (using password: NO)
Access denied for user 'root'@'localhost' (using password: NO)
Access denied for user 'root'@'localhost' (using password: NO)
Access denied for user 'root'@'localhost' (using password: NO)
Access denied for user 'root'@'localhost' (using password: NO)
Access denied for user 'root'@'localhost' (using password: NO)
Access denied for user 'root'@'localhost' (using password: NO)
Access denied for user 'root'@'localhost' (using password: NO)
Exception has been thrown by the target of an invocation.
-> Error starting 'client'
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> MySqlConnector.MySqlException (0x80004005): Access denied for user 'root'@'localhost' (using password: NO)
at TResult System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable<TResult>+ConfiguredValueTaskAwaiter.GetResult()
at async Task<PayloadData> MySqlConnector.Core.ServerSession.SwitchAuthenticationAsync(ConnectionSettings cs, PayloadData payload, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 596
at async Task MySqlConnector.Core.ServerSession.ConnectAsync(ConnectionSettings cs, int startTickCount, ILoadBalancer loadBalancer, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 467
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 846
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 410
at void MySqlConnector.MySqlConnection.Open() in /_/src/MySqlConnector/MySqlConnection.cs:line 376
at DataTable MadGames.SDK.MySQL.QueryRead(MySqlCommand command) in H:/444/MadGame/dotnet/resources/server/MySQL.cs:line 156
at DataTable MadGames.SDK.MySQL.QueryRead(string command) in H:/444/MadGame/dotnet/resources/server/MySQL.cs:line 176 at new MadGame.MoneySystem.Bank() in H:/444/MadGame/dotnet/resources/client/MoneySystem/Bank.cs:line 34
--- 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)
У тебя не подходит пароль, ты сам mysql устанавливал?
 
(для редаги)
У тебя не подходит пароль. Пароль пользователя, по которому сервер входит в базу данных можно изменить в проекте сервера. Зайти в него можно по данному пути server/dotnet/resources/"название".sln. Далле нужно будет найти файл "MySQL.cs" и изменить там данные.
Напр:
$"Host={config.TryGet<string>("Server", "127.0.0.1")};" + // Хост сервера, в данном слечае локальный.
$"User={config.TryGet<string>("User", "root")};" + // Юзер
$"Password={config.TryGet<string>("Password", "")};" + // Пароль от бд
$"Database={config.TryGet<string>("DataBase", "redage")};" + // Название вашей бд ( какое создадте - такое и будет)
$"{config.TryGet<string>("SSL", "SslMode=None;")}"; // не трогать
(Для других серверов)
В папке "packages", нужно в поиске найти "MySQL.js" (может называться по другому) и там изменить.

Если ничего не помогает, то напиши какая сборка(и)
 
тут понятно по одним словам : (using password: NO)

Сборка без пароля, а на MySQL стоит пароль
Убери пароль с MySQL
 
(для редаги)
У тебя не подходит пароль. Пароль пользователя, по которому сервер входит в базу данных можно изменить в проекте сервера. Зайти в него можно по данному пути server/dotnet/resources/"название".sln. Далле нужно будет найти файл "MySQL.cs" и изменить там данные.
Напр:
$"Host={config.TryGet<string>("Server", "127.0.0.1")};" + // Хост сервера, в данном слечае локальный.
$"User={config.TryGet<string>("User", "root")};" + // Юзер
$"Password={config.TryGet<string>("Password", "")};" + // Пароль от бд
$"Database={config.TryGet<string>("DataBase", "redage")};" + // Название вашей бд ( какое создадте - такое и будет)
$"{config.TryGet<string>("SSL", "SslMode=None;")}"; // не трогать
(Для других серверов)
В папке "packages", нужно в поиске найти "MySQL.js" (может называться по другому) и там изменить.

Если ничего не помогает, то напиши какая сборка(и)
то чувство когда говорим про сборку на c#, а затрагиваем js
 
Последнее редактирование:
Назад
Верх