maxGamer Posted February 15, 2022 Posted February 15, 2022 I have this problem and I need to run this game mode as soon as possible Quote Authentication to host '127.0.0.1' for user 'root' using method 'mysql_native_password' failed with message: Access denied for user 'root' @ 'localhost' (using password: YES) [ERROR] MySQL Connection Failed. Cannot Connect to Server. I get the text of the above error every time and I was really confused how this error can be solved. Please give me a solution or a tutorial video. Quote string[] gameSettings = new string[] { SettingHelpers.GetDevEnvironmentSetting("GAME_DATABASE_IP") ?? "127.0.0.1", SettingHelpers.GetDevEnvironmentSetting("GAME_DATABASE_NAME") ?? "gtav", SettingHelpers.GetDevEnvironmentSetting("GAME_DATABASE_USERNAME") ?? "root", SettingHelpers.GetDevEnvironmentSetting("GAME_DATABASE_PASSWORD") ?? "85858585", SettingHelpers.GetDevEnvironmentSetting("GAME_DATABASE_PORT") ?? "3306" }; // TODO_GITHUB: You need to set the below environment variables / variables to your AUTH database connection info string[] authSettings = new string[] { SettingHelpers.GetDevEnvironmentSetting("AUTH_DATABASE_IP") ?? "127.0.0.1", SettingHelpers.GetDevEnvironmentSetting("AUTH_DATABASE_NAME") ?? "core", SettingHelpers.GetDevEnvironmentSetting("AUTH_DATABASE_USERNAME") ?? "root", SettingHelpers.GetDevEnvironmentSetting("AUTH_DATABASE_PASSWORD") ?? "85858585", SettingHelpers.GetDevEnvironmentSetting("AUTH_DATABASE_PORT") ?? "3306" }; My database information has been entered correctly but this error still exists !
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now