dotConnect for MySQL Documentation
Devart.Data.MySql Namespace / MySqlConnection Class / Embedded Property

In This Topic
Embedded Property (MySqlConnection)
In This Topic
Specifies, what server will be used to connect - MySQL server or Embedded MySQL server.
Syntax
'Declaration
 
Public Property Embedded As Boolean
 

Property Value

true, if Embedded MySQL server is used, false for MySQL server. The default value is false.
Remarks
You can use embedded server to ship the DBMS with your application and thus make your software more independent of target machine. However, this process is rather compound and is not recommended.

You can read about features and using Embedded server at "Using Embedded Server" article.

When a value is assigned to this property, the MySqlConnection is closed.

When Embedded property is true, Direct property is ignored. You do not have to specify Host parameter for when working with Embedded server.

Embedded is not available under Compact Framework.

See Also