I'm running out of ideas.
This commit is contained in:
parent
82eeaa93ab
commit
b81e048f06
1 changed files with 7 additions and 4 deletions
|
@ -110,6 +110,9 @@ namespace BackupManager {
|
|||
using (MySqlConnection conn = new MySqlConnection(connStr.ToString())) {
|
||||
conn.Open();
|
||||
|
||||
using(MySqlCommand comm = new(@"SET NAMES 'utf8mb4';"))
|
||||
comm.ExecuteNonQuery();
|
||||
|
||||
using(MySqlCommand comm = new MySqlCommand(@"SHOW DATABASES;", conn))
|
||||
using(MySqlDataReader read = comm.ExecuteReader()) {
|
||||
while(read.Read()) {
|
||||
|
|
Reference in a new issue