3 ms·
Rather than add --default-character-set every time you invoke the mysql client, add the setting to your my.cnf/my.ini config file.
by dangrossman 15y ago
Rather than add --default-character-set every time you invoke the mysql client, add the setting to your my.cnf/my.ini config file.
- getsat 15y agoJust set the client and server defaults in my.cnf. MySQL has four places where encoding can be set: client connection, server, database, column. Setting the client and server in my.cnf covers everything.