- 
      
 - 
        
Save asfaltboy/4181118 to your computer and use it in GitHub Desktop.  
    MySQL set unicode as default
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | [mysqld] | |
| default-character-set=utf8 | |
| default-collation=utf8_general_ci | |
| character-set-server=utf8 | |
| collation-server=utf8_general_ci | |
| init-connect='SET NAMES utf8' | |
| [client] | |
| default-character-set=utf8 | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | [mysqld] | |
| #default-character-set=utf8 | |
| init_connect='SET collation_connection = utf8_general_ci' | |
| init_connect='SET NAMES utf8' | |
| character-set-server=utf8 | |
| collation-server=utf8_general_ci | |
| skip-character-set-client-handshake | |
| [client] | |
| default-character-set=utf8 | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment