diff options
| Commit | 4b0ae8b80876e094d3ef4eea045066d2f199a750 (patch) | |
|---|---|---|
| Author | 2023-01-30 20:01:46 +0200 | |
| Committer | 2023-01-30 20:01:46 +0200 | |
| Files | 1d1880eb72cea47f386a93bcb407367296953413 /src/tutorials/connect-to-mysql-in-dotnet-ef/index.md | |
| syndamia.com-webp-convertion.tar syndamia.com-webp-convertion.tar.gz syndamia.com-webp-convertion.zip | ||
| Parent | 3c0888fed1fe3d6af32a8a492089cdf910c0b951 (diff) | |
[all] Converted all images to webp format webp-convertion
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: |