Summary Files Commits Branches @commit @diff @stats
path: root / src / tutorials / connect-to-mysql-in-dotnet-ef
diff options
context:
space:
mode:
Commit4b0ae8b80876e094d3ef4eea045066d2f199a750 (patch)
Author
 Syndamia <kamen@syndamia.com>
2023-01-30 20:01:46 +0200
Committer
 Syndamia <kamen@syndamia.com>
2023-01-30 20:01:46 +0200
Files1d1880eb72cea47f386a93bcb407367296953413 /src/tutorials/connect-to-mysql-in-dotnet-ef
syndamia.com-webp-convertion.tar
syndamia.com-webp-convertion.tar.gz
syndamia.com-webp-convertion.zip
Parent3c0888fed1fe3d6af32a8a492089cdf910c0b951 (diff)
[all] Converted all images to webp format webp-convertion
diff --git a/src/tutorials/connect-to-mysql-in-dotnet-ef/img/about-workbench.png b/src/tutorials/connect-to-mysql-in-dotnet-ef/img/about-workbench.png
deleted file mode 100644
index 067d8ce..0000000
--- a/src/tutorials/connect-to-mysql-in-dotnet-ef/img/about-workbench.png
+++ /dev/null
Binary files differ
diff --git a/src/tutorials/connect-to-mysql-in-dotnet-ef/img/about-workbench.webp b/src/tutorials/connect-to-mysql-in-dotnet-ef/img/about-workbench.webp
new file mode 100644
index 0000000..eb27e5d
--- /dev/null
+++ b/src/tutorials/connect-to-mysql-in-dotnet-ef/img/about-workbench.webp
Binary files differ
diff --git a/src/tutorials/connect-to-mysql-in-dotnet-ef/img/connections.png b/src/tutorials/connect-to-mysql-in-dotnet-ef/img/connections.png
deleted file mode 100644
index aa7b408..0000000
--- a/src/tutorials/connect-to-mysql-in-dotnet-ef/img/connections.png
+++ /dev/null
Binary files differ
diff --git a/src/tutorials/connect-to-mysql-in-dotnet-ef/img/connections.webp b/src/tutorials/connect-to-mysql-in-dotnet-ef/img/connections.webp
new file mode 100644
index 0000000..a504d6d
--- /dev/null
+++ b/src/tutorials/connect-to-mysql-in-dotnet-ef/img/connections.webp
Binary files differ
diff --git a/src/tutorials/connect-to-mysql-in-dotnet-ef/img/workbench-version.png b/src/tutorials/connect-to-mysql-in-dotnet-ef/img/workbench-version.png
deleted file mode 100644
index bf5081d..0000000
--- a/src/tutorials/connect-to-mysql-in-dotnet-ef/img/workbench-version.png
+++ /dev/null
Binary files differ
diff --git a/src/tutorials/connect-to-mysql-in-dotnet-ef/img/workbench-version.webp b/src/tutorials/connect-to-mysql-in-dotnet-ef/img/workbench-version.webp
new file mode 100644
index 0000000..9f1fe03
--- /dev/null
+++ b/src/tutorials/connect-to-mysql-in-dotnet-ef/img/workbench-version.webp
Binary files differ
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.
-![MyServer root 127.0.0.1:3306](./img/connections.png) In this example, the user id is _root_ and the port is _3306_.
+![MyServer root 127.0.0.1:3306](./img/connections.webp) 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`.
-![](./img/about-workbench.png)
-![](./img/workbench-version.png)
+![](./img/about-workbench.webp)
+![](./img/workbench-version.webp)
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: