search
Search
Login
Math ML Join our weekly DS/ML newsletter
menu
menu search toc more_vert
Robocat
Guest 0reps
Thanks for the thanks!
close
chevron_left MySQL
Common questions2 topics
Cookbooks7 topics
Documentation5 topics
Getting startedAPI referenceRecipes reference
Comments
Log in or sign up
Cancel
Post
account_circle
Profile
exit_to_app
Sign out
help Ask a question
Share on Twitter
search
keyboard_voice
close
Searching Tips
Search for a recipe:
"Creating a table in MySQL"
Search for an API documentation: "@append"
Search for code: "!dataframe"
Apply a tag filter: "#python"
Useful Shortcuts
/ to open search panel
Esc to close search panel
to navigate between search results
d to clear all current filters
Enter to expand content preview
icon_star
Doc Search
icon_star
Code Search Beta
SORRY NOTHING FOUND!
mic
Start speaking...
Voice search is only supported in Safari and Chrome.
Navigate to
A
A
brightness_medium
share
arrow_backShare
Twitter
Facebook
chevron_left MySQL
Common questions2 topics
Cookbooks7 topics
Documentation5 topics
Getting startedAPI referenceRecipes reference
check_circle
Mark as learned
thumb_up
0
thumb_down
0
chat_bubble_outline
0
auto_stories new
settings

MySQL | Recipes reference

Database
chevron_right
MySQL
schedule Jul 1, 2022
Last updated
local_offer MySQL
Tags

Character sets and Collations

  • MySQL | Binary and Non-binary strings
    A binary string is a sequence of bytes. They have the binary character set and collation, and the comparison / sorting is done based on the numeric values of the bytes. A non-binary string is a sequence of characters. It is associated with a character set and collation.
  • MySQL | Character sets
    A character set defines the set of characters that can be stored in a string. Each character is made up of a symbol and its corresponding encoding.
  • Checking character set in MySQL
    We can check the character set in MySQL on a database, table, column, string level using varying syntax.
  • Checking collation in MySQL
    This article describes how to check the collation of a string in MySQL.
  • MySQL | Collations
    A collation is a set of rules that defines how to compare and sort characters in a character set. A collation can only belong to a single character set, however, a character set can have many collations.
  • Setting the character set in MySQL
    We can set the character set at a server, database, table or column level in MySQL.
  • UTF-8 representation in MySQL
    MySQL’s actual equivalent of utf-8 is a character set known as utf8mb4.  You should never use utf-8 since this can lead to troubling inconsistencies when changing vendors since this can lead to troubling inconsistencies when changing vendors. The reason MySQL’s utf-8 still exists is for backward compatibility with previous versions of MySQL.

Data types Cookbook

Database Cookbook

Functions Cookbooks

Sample tables

Server settings Cookbook

Tables Cookbooks

mail
Join our newsletter for updates on new DS/ML comprehensive guides (spam-free)
robocat
Published by Isshin Inada
Edited by 0 others
Did you find this page useful?
thumb_up
thumb_down
Ask a question or leave a feedback...