Jump to content

maxGamer

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by maxGamer

  1. 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 !

×
×
  • Create New...