search
Search
Login
Unlock 100+ guides
menu
menu
web
search toc
close
Comments
Log in or sign up
Cancel
Post
account_circle
Profile
exit_to_app
Sign out
What does this mean?
Why is this true?
Give me some examples!
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
chevron_leftMySQL
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
Comment
auto_stories Bi-column layout
settings

MySQL | Recipes reference

schedule Aug 12, 2023
Last updated
local_offer
MySQL
Tags
mode_heat
Master the mathematics behind data science with 100+ top-tier guides
Start your free 7-days trial now!

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

robocat
Published by Isshin Inada
Edited by 0 others
Did you find this page useful?
thumb_up
thumb_down
Comment
Citation
Ask a question or leave a feedback...