Skip to content

Commit

Permalink
Change mysql test connection string to use information_schema
Browse files Browse the repository at this point in the history
  • Loading branch information
harshithmohan committed Nov 13, 2023
1 parent 4161e25 commit 0ba15b5
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 @@ -994,7 +994,7 @@ public override string GetTestConnectionString()
{
var settings = Utils.SettingsProvider.GetSettings();
return
$"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";
$"Server={settings.Database.Hostname};Port={settings.Database.Port};Database=information_schema;User ID={settings.Database.Username};Password={settings.Database.Password};Default Command Timeout=3600";
}

public override bool HasVersionsTable()
Expand Down

0 comments on commit 0ba15b5

Please sign in to comment.