Name

SHOW COLLATION

Synopsis

SHOW COLLATION [LIKE 'pattern']

Use this statement to list all of the collation character sets. You can use the LIKE clause to list character sets based on a naming pattern. This statement is available as of Version 4.1 of MySQL. Here is an example:

SHOW COLLATION LIKE '%bin%';

In this example, character sets that contain the letters bin in their name will be listed. These are binary character sets.

Get MySQL in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.