title: I am accessing a MySQL database using the .NET connector and getting the error "Guid should contain 32 digits and 4 dashes"
body: <p>I have a .NET application which allows users to access various databases by providing a connection string and a provider.</p>
  
  <p>One of the databases which users want to access is a MySQL database (not mine so I can't change it) where the primary keys are all stored as GUIDs.</p>
  
  <p>My application can access records in various tables in that database when using the MySQL ODBC 3.51 Driver.</p>
  
  <p>But using exactly the same code (taking into account that ODBC needs a ? in place of a parameter name whereas the .NET connector needs the "@name" syntax), and attempting to read the same records in the same tables but this time with the MySQL .NET Connector (V6.1.3 as well as v6.2.2), then I get the error "Guid should contain 32 digits with 4 dashes ...".</p>
  
  <p>Is there something wrong with the .NET Connector, or is there something I need to specify somewhere to make it work?</p>