File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ This tutorial will teach you how to connect to MySQL from .NET Core using C#.
1818First, install the [ MySqlConnector NuGet package] ( https://www.nuget.org/packages/MySqlConnector/ ) . From
1919a command prompt, run:
2020
21- ```
21+ ``` txt
2222dotnet add package MySqlConnector
2323```
2424
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ You will need to install the following NuGet packages:
3232
3333Build your connection string by substituting the appropriate values in this template:
3434
35- ```
35+ ``` txt
3636Server=YOURSERVER; User ID=YOURUSERID; Password=YOURPASSWORD; Database=YOURDATABASE
3737```
3838
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ It uses MySqlConnector to provide the core database connectivity.
2222In this tutorial, we'll use a console application to demonstrate the core concepts.
2323Create a console application, then add the Pomelo.EntityFrameworkCore.MySql NuGet package:
2424
25- ```
25+ ``` txt
2626dotnet new console -o EFCoreMySQL
2727cd EFCoreMySQL
2828dotnet add package Pomelo.EntityFrameworkCore.MySql
@@ -32,7 +32,7 @@ dotnet add package Pomelo.EntityFrameworkCore.MySql
3232
3333Build your connection string by substituting the appropriate values in this template:
3434
35- ```
35+ ``` txt
3636Server=YOURSERVER; User ID=YOURUSERID; Password=YOURPASSWORD; Database=YOURDATABASE
3737```
3838
You can’t perform that action at this time.
0 commit comments