My Oracle Support Banner

How to change default collation_connection setting (Doc ID 2545115.1)

Last updated on MARCH 18, 2021

Applies to:

MySQL Server - Version 5.0 and later
Information in this document applies to any platform.

Goal

This document describes how to change default 'collation_connection' setting when a client connects to the server, which affects literals and functions.
 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
 1. Issue SET NAMES upon each connection
 2. Apply global setting using skip_character_set_client_handshake option
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.