Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Impara Connecting to the MySQL Server | Introduction to Databases with .NET
Introduction to .NET with C#

book
Connecting to the MySQL Server

Summary:

  • Import the MySqlClient from MySql.Data;
  • Create a connection string using the server details;
  • Use the MySqlConnection class to connect to the server using your connection string.
question-icon

Drag and drop the options for forming a valid connection string:

_ _ _
_ _ _
_ _ _
_ _ _
_ _ _
_ _ _
_ _ _
_ _ _
_ _ _

Click or drag`n`drop items and fill in the blanks

dots
password123
dots
server
dots
=
dots
=
dots
user
dots
localhost
dots
password
dots
=
dots
root

Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 3. Capitolo 4
some-alt