Default security login on MySql yields exception (Radzen 2.62.0)

Having trouble with my first Radzen application, hope someone can help

I created a Blazer/Server-side/.NET5 application.
Then added a database (with CRUD pages).
The clicked Security/Provider=default
Ticked auto generate pages, chose a data source, then save.
Then clicked RUN.

The debug shows the creation of tables, then indexes (last of which is AspNetUsers).
Then this

dotnet: crit: Microsoft.AspNetCore.Hosting.Diagnostics[6]
Application startup exception
MySqlConnector.MySqlException (0x80004005): Specified key was too long; max key length is 767 bytes
---> MySqlConnector.MySqlException (0x80004005): Specified key was too long; max key length is 767 bytes
at MySqlConnector.Core.ResultSet.ReadResultSetHeaderAsync(IOBehavior ioBehavior) in /_/src/MySqlConnector/Core/ResultSet.cs:line 49

//NOTE: there are 2 of those exceptions
dotnet: watch : Exited with error code -532462766

dotnet: watch : Waiting for a file to change before restarting dotnet...

Thanks for the report @ChrisM! Fix will be included in our next update next week.

1 Like

Hey @ChrisM ,

Just tried new Blazor server application with .NET 5 and MySql 8 and security migrations passed normally:



What is your MySql version?