title: EF5 Code First GUIDs with MySQL
body: <p>I'm sure that I'm just missing something obvious but I can't seem to get the following code to function correctly.</p>
  
  <p>This is one of my POCO classes that uses a Guid:</p>
  
  <pre><code>public class Player
  {
      public virtual Guid PlayerID { get; set; }
      public virtual int? GuildID { get; set; }
  
      public virtual int AccountNumber { get; set; }
      public virtual string UserName { get; set; }
  
      public virtual Guild Guild { get; set; }
  
      public virtual ICollection&lt;Coordinate&gt; Coordinates { get; set; }
  }
  </code></pre>
  
  <p>It is linked to it's own configuration class using the Fluent API:</p>
  
  <pre><code>public class PlayerConfiguration : EntityTypeConfiguration&lt;Player&gt;
  {
      public PlayerConfiguration()
      {
          ToTable("Players", "ACDB");
  
          Property(p =&gt; p.PlayerID)
              .HasDatabaseGeneratedOption(DatabaseGeneratedOption.Identity);
  
          Property(p =&gt; p.UserName).HasMaxLength(25);
      }
  }
  </code></pre>
  
  <p>The configuration is then registered with the DbContext.</p>
  
  <p>The error I'm getting is the following: Incorrect column specifier for column 'PlayerID'</p>
  
  <p>Any ideas on where I'm going wrong?</p>