AspNetUserTokens table missing when migrating from Microsoft SQL to MySql


I am trying to migrate an Asp Net Core application Identity from Microsoft SQL to MySql

When running the application i get the following error for missing table AspNetUserTokens:

MySql.Data.MySqlClient.MySqlException (0x80004005): Table 'AspNetUserTokens' doesn't exist ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Table 'AspNetUserTokens' doesn't exist
at MySqlConnector.Core.ServerSession.TryAsyncContinuation(Task`1 task) in ..\src\MySqlConnector\Core\ServerSession.cs:line 1252   

The original SQL database never had a table named AspNetUserTokens, why does Identity try to access it? Do I have to create this table or can I tell Identity ignore it?

Any help will be appreciated.

asked on Stack Overflow Jul 11, 2019 by Erez Ben Harush

0 Answers

Nobody has answered this question yet.

User contributions licensed under CC BY-SA 3.0