Connects to a MySQL database using the ODBC driver.

Namespace: DatabaseObjects
Assembly: DatabaseObjects (in DatabaseObjects.dll) Version: 3.8.1.0

Syntax

C#
public MySQLDatabase(
	string strDataSource,
	string strDatabaseName,
	string strUserName,
	string strPassword
)
Visual Basic
Public Sub New ( _
	strDataSource As String, _
	strDatabaseName As String, _
	strUserName As String, _
	strPassword As String _
)
Visual C++
public:
MySQLDatabase(
	String^ strDataSource, 
	String^ strDatabaseName, 
	String^ strUserName, 
	String^ strPassword
)

Parameters

strDataSource
Type: System..::..String

[Missing <param name="strDataSource"/> documentation for "M:DatabaseObjects.MySQLDatabase.#ctor(System.String,System.String,System.String,System.String)"]

strDatabaseName
Type: System..::..String

[Missing <param name="strDatabaseName"/> documentation for "M:DatabaseObjects.MySQLDatabase.#ctor(System.String,System.String,System.String,System.String)"]

strUserName
Type: System..::..String

[Missing <param name="strUserName"/> documentation for "M:DatabaseObjects.MySQLDatabase.#ctor(System.String,System.String,System.String,System.String)"]

strPassword
Type: System..::..String

[Missing <param name="strPassword"/> documentation for "M:DatabaseObjects.MySQLDatabase.#ctor(System.String,System.String,System.String,System.String)"]

Remarks