Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Identity not working with MySQL

$
0
0

Hello, i have a problem working with Identity using MySQL, when the program enter the

 _userManager.CreateAsync(newUser, userModel.Password);


 line its from Identity, it always give an error: "connection must be valid and open to commit transaction" but when i use

_databaseContext.SaveChanges();


 It works, or when i use PostgreSQL database identity works well too, how to fix Identity problem with MySQL?


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>