Search notes:

MySql.Data.MySqlClient.MySqlConnection (class)

MySql.Data.MySql.MySqlConnection inherits from System.Data.Common.DbConnection and represents a connection to a MySQL server.

Error message Guid should contain 32 digits with 4 dashes

When I started to experiment with MySqlConnection, I got a Unhandled Exception: System.FormatException: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) error message.
This seems to be a known bug.
The solution is to use old guids=true in the connection string:
MySqlConnection conn = new MySqlConnection("Database=tq84_db;Data Source=SRV-08;User Id=rene;Password=rene;old guids=true");

Index