最終更新:2013-04-02 (火) 19:24:04 (4013d)
skip-character-set-client-handshake
Top / skip-character-set-client-handshake
クライアントが指定した文字コードを無視し、サーバの文字コードを設定するオプション
this makes MySQL behave like MySQL 4.0?.
挙動
- When a client connects, it sends to the server the name of the character set that it wants to use.
- The server uses the name to set the character_set_client?, character_set_results?, and character_set_connection? system variables.
- In effect, the server performs a SET NAMES operation using the character set name.
- the server ignores the client's initial settings if the --skip-character-set-client-handshake is used.
メモ
- default-character-setを正しく設定するのもアリ