diff options
1 files changed, 3 insertions, 3 deletions
| -rw-r--r-- | src/tutorials/connect-to-mysql-in-dotnet-ef/index.md | 6 |
diff --git a/src/tutorials/connect-to-mysql-in-dotnet-ef/index.md b/src/tutorials/connect-to-mysql-in-dotnet-ef/index.md index d6bde42..f6d2c40 100644 --- a/src/tutorials/connect-to-mysql-in-dotnet-ef/index.md +++ b/src/tutorials/connect-to-mysql-in-dotnet-ef/index.md @@ -26,7 +26,7 @@ There are [a lot](https://www.connectionstrings.com/mysql/) of ways to setup the If you are using `MySQL Workbench` and you don't know your port and id, you can look at the server information from the `MySQL Connections` page. - In this example, the user id is _root_ and the port is _3306_. + In this example, the user id is _root_ and the port is _3306_. ## Connecting @@ -34,8 +34,8 @@ To connect, you'll need to call the `UseMySql` method, either in [ASP.NET Startu The method requires at least two arguments: connection string and `MySql` server version. The latter you can find, by going to the `Help/About Workbench` window inside `MySQL Workbench`. - - + + For the server version argument, create a new object of type `MySqlServerVersion` and give it's constructor a new object of type `Version`, to which you give the version numbers. The result should look something like this: |