You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following #332, the database itself is now UTF-8. However, MySQL session's terminal output still shows ? in place of non-ASCII characters. This is because MySQL itself has some character set and collation settings which are analogous to the database/table ones. Show the values by running this statement:
SHOW VARIABLES WHERE Variable_name LIKE 'character\_set\_%' OR Variable_name LIKE 'collation%';
That works, and UTF-8 characters now show correctly in the terminal.
However, these settings don't persist across sessions. There are ways to set these for each session, or even better permanently as a config for all sessions, but I wasn't yet able to sniff out exactly how to do that.
The text was updated successfully, but these errors were encountered:
Following #332, the database itself is now UTF-8. However, MySQL session's terminal output still shows
?
in place of non-ASCII characters. This is because MySQL itself has some character set and collation settings which are analogous to the database/table ones. Show the values by running this statement:SHOW VARIABLES WHERE Variable_name LIKE 'character\_set\_%' OR Variable_name LIKE 'collation%';
and you'll get output like this:
These statements will set those variables to UTF-8:
Re-running the above
SHOW VARIABLES
command now shows:That works, and UTF-8 characters now show correctly in the terminal.
However, these settings don't persist across sessions. There are ways to set these for each session, or even better permanently as a config for all sessions, but I wasn't yet able to sniff out exactly how to do that.
The text was updated successfully, but these errors were encountered: