Honeywick
  • 0 Shopping Cart
  • Home
  • Store
    • Browse All
    • Windows Hosting Packages
    • SSL Certificates
    • Dedicated / VPS Server Hosting
    • WordPress Hosting
    • SSL Certificates
    • Register a New Domain
    • Transfer Domains to Us
  • Announcements
  • Knowledgebase
  • Network Status
  • Contact Us
  • More
  • Account
    • Login
    • Forgot Password?
  1. Portal Home
  2. Knowledgebase
  3. Database Connection String Code Samples
  4. mySQL connection string examples

  Categories

Code Samples
25
cPanel Control Panel for Linux
2
Database Connection String Code Samples
11
Datacenter Facility PCI Compliance
1
Dedicated Hosting
4
Email
7
Email Settings
5
Error codes
2
Free Tools for Download
6
Frequently Asked Questions
18
Plesk Control Panel
1
Pre-Sales Questions
19
Wordpress
5

  Categories

  Support

My Support Tickets
Announcements
Knowledgebase
Downloads
Network Status
Open Ticket

mySQL connection string examples Print

  • 0

The standard way to connect to a mySQL database using the mySQL connector in Microsoft.NET is as follows:

Server=myServerAddress;Database=myDataBase;Uid=myUsername;Pwd=myPassword;
Note: the default port is 3306

The mySQL connector is a .NET Framework Class library located in the MySql.Data.MySqlClient.MySqlConnection namespace.

 


Was this answer helpful?

Related Articles

Free Download Location for Microsoft SQL Server Management Studio Microsoft has published a new version of SQL Server database management tools - SQL Server... Connection Strings Explained Connection Strings Explained Introduction When your application connects to a database or a... Formatting Rules for Connection Strings Formatting Rules for Connection Strings As a string, there are no built in checks or... All SQL Server SqlConnection properties All SQL Server SqlConnection properties   There are plenty of combinations when creating an SQL... SQL Server Data Types Reference SQL Server Data Types Reference   Do you know exactly every data type in SQL Server and their...
« Back

  Support

My Support Tickets
Announcements
Knowledgebase
Downloads
Network Status
Open Ticket
  • Contact Us
  • Terms of Service

Copyright © 2025 Honeywick. All Rights Reserved.


Loading...
Loading...
Choose language
العربية
Azerbaijani
Català
中文
Hrvatski
Čeština
Dansk
Nederlands
English
Estonian
Persian
Français
Deutsch
עברית
Magyar
Italiano
Macedonian
Norwegian
Português
Português
Română
Русский
Español
Svenska
Türkçe
Українська

Generate Password

Please enter a number between 8 and 64 for the password length