Hey guys... I would like to set my session character set each time I connect to an instance. here is my situation...our MySql instance is using the default character set ..latin1. My database and all tables are defined using character set utf8. via ALTER DATABASE db_name DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci; Any modifications that I make to existing tables that involve character datatypes are defaulting to latin1 ! If I change my session character set to utf8, then my mods use utf8. Is there a way to automatically set my session character_set each time I connect ? set session character_set_server=utf8; SET NAMES 'utf8' thanks in advance for any suggestions.
↧