EPUB | CHM | PDF

TMySQLDatabase.Properties.ConnectionCharacterSet

Top Previous Next

note Since v2.6.1

Sets connection character set.

Syntax:

property ConnectionCharacterSet: String;

Description:

DAC for MySQL executes 'SET NAMES <character set name> COLLATE <collation name>' query immediately after connection to the database is established, if at least one of ConnectionCharacterSet or ConnectionCollation properties values is not set in empty string.

For details about character sets and collations in MySQL please refer to http://dev.mysql.com/doc/refman/5.0/en/charset.html

note Supported character sets list may be received by executing 'SHOW CHARACTER SET' query.

note Please read this FAQ section if you want to use Unicode strings in your application: How to use Unicode data in my application?

See also: ConnectionCollation, Utf8Used properties