This commit is contained in:
flash 2021-07-30 04:23:48 +02:00
parent b81e048f06
commit e1c57d76a2

View file

@ -110,7 +110,7 @@ namespace BackupManager {
using (MySqlConnection conn = new MySqlConnection(connStr.ToString())) {
conn.Open();
using(MySqlCommand comm = new(@"SET NAMES 'utf8mb4';"))
using(MySqlCommand comm = new(@"SET NAMES 'utf8mb4';", conn))
comm.ExecuteNonQuery();
using(MySqlCommand comm = new MySqlCommand(@"SHOW DATABASES;", conn))