I am testing if my query works and cannot actually do it.
I have this query in my php file.
SET NAMES ‘utf8’ COLLATE ‘utf8_unicode_ci’
Now I want to do the opposite, something like “SHOW CURRENT COLLATE”.
Means I want to know what is NAMES COLLATE SET TO BEFORE MY QUERY AND AFTER MY QUERY.
You can select that info from
information_schema: