Skip to content

Commit

Permalink
Fix mysql test connection string
Browse files Browse the repository at this point in the history
  • Loading branch information
harshithmohan authored Nov 7, 2023
1 parent eccd9f3 commit f0ba34b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Shoko.Server/Databases/MySQL.cs
Original file line number Diff line number Diff line change
Expand Up @@ -993,7 +993,7 @@ public override string GetTestConnectionString()
{
var settings = Utils.SettingsProvider.GetSettings();
return
$"Server={settings.Database.Hostname};Port={settings.Database.Port};Database=mysql;User ID={settings.Database.Username};Password={settings.Database.Password};Default Command Timeout=3600";
$"Server={settings.Database.Hostname};Port={settings.Database.Port};Database={settings.Database.Schema};User ID={settings.Database.Username};Password={settings.Database.Password};Default Command Timeout=3600";
}

public override bool HasVersionsTable()
Expand Down

0 comments on commit f0ba34b

Please sign in to comment.