Page 1 of 1

Charset

Posted: Tue 20 Oct 2015 11:43
by vallemanden
Hi there,

Is there a way to read the charset on the database?

kind regards
Vallemanden

Re: Charset

Posted: Thu 22 Oct 2015 12:52
by ViktorV
You can query system tables of MySQL server using the TMyQuery component. For example:

Code: Select all

MyQuery.SQL.Text := 'SELECT  default_character_set_name FROM information_schema.SCHEMATA where SCHEMA_NAME = "DatabaseName"';

Re: Charset

Posted: Thu 22 Oct 2015 21:04
by vallemanden
Thank you alot

Re: Charset

Posted: Mon 26 Oct 2015 16:27
by ViktorV
If you have any questions during using our products, please don't hesitate to contact us - and we will try to help you solve them.