I have a MySql 5.6 database where the database is using a collation of utf8_unicode_ci. Every time I create a new table the table is created with utf8_unicode_ci, but the varchar columns are set with utf8_general_ci.
When I look at the variables I see the following
'collation_connection', 'utf8_general_ci'
'collation_database', 'utf8_unicode_ci'
I can manually execute, SET collation_connection = utf8_unicode_ci;
and then create my table and everything works as I'd like.
The question is, how can I set collation_connection by default? I've tried setting via my.cnf using the article below, but I can't seem to get my connection to change. Ideas?