MySQL Forums
Forum List  »  Connector/C (libmysql)

mysql_set_character_set() at auto reconnection
Posted by: Konstantin Volkov
Date: March 20, 2017 01:29AM

I set autoreconnection (MYSQL_OPT_RECONNECT) to true.
Does mysql_set_character_set() executed automatically at every reconnection?
Or I should detect reconnections and execute mysql_set_character_set() every time by myself?

Options: ReplyQuote

Written By
mysql_set_character_set() at auto reconnection
March 20, 2017 01:29AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.