// other service configurations go here
// replace "YourDbContext" with the class name of your DbContext
services.AddDbContextPool<typechoContext>(options => options
// // replace with your connection string .UseMySql("Server=localhost;Database=typecho;User=root;Password=woshishui;", mySqlOptions => mySqlOptions
// // replace with your Server Version and Type
.ServerVersion(new ServerVersion(new Version(8, 0, 19), ServerType.MySql))
// ));