Use MySql instead of MS Sql Server
See original GitHub issueThis link here Entity Framework - MySql Integration shows how to connect with MySql. However, it appears the classes have since changed. In it, it says:
Open your DbContext’s configuration class (Configuration.cs) and place below code in it’s constructor
SetSqlGenerator("MySql.Data.MySqlClient", new MySql.Data.Entity.MySqlMigrationSqlGenerator());
Which file is this in the version 3.3.2? And is the document above still valid? (I am using ASP.NET Core 2x).
Thank you.
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (6 by maintainers)
Top Results From Across the Web
MySQL vs MSSQL: Comparing Similarities and Differences
MySQL and MSSQL Server share some similarities, as they are both relational databases. The majority of developers, though, specialize in either ...
Read more >MySQL vs MS SQL Server – Which Reigns Supreme?
Language and Syntax: MySQL uses a more standard SQL language, while MS SQL Server uses Transact-SQL (T-SQL), which is an extended version of...
Read more >MySQL vs SQL Server: 10 Critical Differences - Learn
Both MySQL and SQL Server are developed as binary collections. But, SQL Server is far more secure than MySQL. MySQL allows developers to...
Read more >MySQL vs SQL: Overview, Similarities, Differences
The main difference between MySQL and SQL is that MySQL is a specific type of SQL database management system, while SQL is a...
Read more >Difference between MySQL and MS SQL Server
SQL is an acronym for Structured Query Language. · MySQL is an open source Relational Database Management System (RDBMS) based on Structured ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks @Donistivanov
I just had to do this, so for the future…
Where xxx is the application name,
builder.UseMySql(...)
rather thanbuilder.UseSqlServer(...)
Hope it helps