1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Latest News: RAGE Multiplayer 0.3.2 Announcement - November 29th, 2017

Issue trying to set up Godfather Web Server

Discussion in 'Scripting Help' started by PGB457, Apr 4, 2017.

  1. PGB457

    PGB457 Active Member

    Messages:
    63
    Likes Received:
    1
    Joined:
    Feb 9, 2017
    Hello all,

    I am trying to set up the web server of Godfather GM, and it is not working, i don't know why.
    I have XAMPP running and Web Server published on my PC, then, i run PowerShell and type dotnet .\Web.dll, but it is not working. Please! i need help.
    This is the error log:
    Code:
    PS C:\Users\Pablo\Desktop\github\godfather\Web\bin\Webserver> dotnet ./Web.dll
    
    Unhandled Exception: MySql.Data.MySqlClient.MySqlException: Access denied for user ''@'localhost' to database 'godfather'
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
       at System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1.ConfiguredValueTaskAwaiter.GetResult()
       at MySql.Data.Serialization.MySqlSession.<ConnectAsync>d__22.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at MySql.Data.MySqlClient.ConnectionPool.<GetSessionAsync>d__0.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at MySql.Data.MySqlClient.MySqlConnection.<CreateSessionAsync>d__57.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at MySql.Data.MySqlClient.MySqlConnection.<OpenAsync>d__11.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at MySql.Data.MySqlClient.MySqlConnection.Open()
       at Microsoft.EntityFrameworkCore.Storage.Internal.MySqlRelationalConnection.Open()
       at Microsoft.EntityFrameworkCore.Storage.Internal.MySqlDatabaseCreator.Exists(Boolean retryOnNotExists)
       at Microsoft.EntityFrameworkCore.Storage.RelationalDatabaseCreator.EnsureCreated()
       at TheGodfatherGM.Web.Startup.Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory, DefaultDbContext dbContext) in C:\Users\Pablo\Desktop\github\godfather\Web\Startup.cs:line 82
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at Microsoft.AspNetCore.Hosting.ConventionBasedStartup.Configure(IApplicationBuilder app)
       at Microsoft.AspNetCore.Hosting.Internal.WebHost.BuildApplication()
       at Microsoft.AspNetCore.Hosting.WebHostBuilder.Build()
       at TheGodfatherGM.Web.Program.Main(String[] args) in C:\Users\Pablo\Desktop\github\godfather\Web\Program.cs:line 10
     
  2. DurtyFree

    DurtyFree New Member

    Messages:
    0
    Likes Received:
    1
    Joined:
    Oct 30, 2016
    MySql.Data.MySqlClient.MySqlException: Access denied for user ''@'localhost' to database 'godfather'

    You need to setup the godfather database.
     
  3. sriwanich

    sriwanich New Member

    Messages:
    3
    Likes Received:
    0
    Joined:
    Feb 5, 2018
  4. trice001

    trice001 New Member

    Messages:
    1
    Likes Received:
    0
    Joined:
    Wednesday
    thanks
     
    Last edited: Feb 14, 2018 at 6:19 AM

Share This Page