That code you wrote to assemble a connection string is absolute garbage.
Besides not doing any input validation at all, you're using string concatenation to build the connection string, which makes your code pretty much unreadable and a pain in the ass to debug. Use string interpolation instead and it gets much easier. (You also don't need all the damn spaces and the single quotes!)
string connStr = $"Server={TstServerMySQL};Port={TstPortMySQL};Usser Id={TstUserNameMySQL};Password={TstPwdMySQL};Database={TstDBNameMySQL}";
SQLConn.conn.ConnectionString = connStr;
Also, breaking the building of the connection string out into it's own variable makes it easier to see the content of the connection string in the debugger before assigning it to the connection object.