Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Leer 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
=
dots
password
dots
password123
dots
server
dots
localhost
dots
user
dots
=
dots
root
dots
=

Was alles duidelijk?

Hoe kunnen we het verbeteren?

Bedankt voor je feedback!

Sectie 3. Hoofdstuk 4
some-alt