For the complete documentation index, see llms.txt. This page is also available as Markdown.

mysql_character_set_name

mysql_character_set_name returns the name of the default client character set for a specified MariaDB Connector/C connection.

Syntax

const char * mysql_character_set_name(MYSQL * mysql);

Parameter

Description

Returns the default client character set for the specified connection.

Return value

The character set name used for the specified connection.

This function is deprecated. Instead, use mariadb_get_infov() with option MARIADB_CONNECTION_CHARSET_INFO.

See Also

This page is: Copyright © 2026 MariaDB. All rights reserved.

spinner

Last updated

Was this helpful?