Search
 
SCRIPT & CODE EXAMPLE
 

C

mariadb utf8mb4

# https://scottlinux.com/2017/03/04/mysql-mariadb-set-character-set-and-collation-to-utf8/
# https://mariadb.com/kb/en/library/setting-character-sets-and-collations/
# https://medium.com/@adamhooper/in-mysql-never-use-utf8-use-utf8mb4-11761243e434
# https://stackoverflow.com/questions/47566730/force-mariadb-clients-to-use-utf8mb4

[client]
default-character-set = utf8mb4

[mysql]
default-character-set = utf8mb4

[mysqld]
character-set-client-handshake = FALSE
collation-server = utf8mb4_unicode_ci
init-connect = 'SET NAMES utf8mb4 COLLATE utf8mb4_unicode_ci'
character-set-server = utf8mb4

then checkit with
show variables like 'char%'; show variables like 'collation%';
Comment

PREVIOUS NEXT
Code Example
C :: multiplicationin c 
C :: Graphics in C Draw Circle 
C :: c program strtok use 
C :: how to check if a string pointer is empty in c 
C :: fopen function in c 
C :: for loop in c 
C :: matrix multiplication in c 
C :: odd even in c with ternary operator 
C :: slug urls django 
C :: read a document from console in c 
C :: Convert mpg / mp4 to gif with ffmpeg 
C :: memcpy c 
C :: int to char in c 
C :: Grepper VSCode Add On 
C :: c functions example 
C :: memory layout in c 
C :: doble puntero en c 
C :: how to read 2d array from a file in c 
C :: bubble sort c 
C :: malloc c 
C :: pendu langage c 
C :: esp8266 wifi.config does not work 
C :: command line arguments c 
C :: print 0 1 2 3 4 in c while loop 
C :: c check if character is lower case 
C :: Install valet-linux 
C :: linux_reboot_magic2 
C :: le reste de division in algorithm c 
C :: While loop output 
C :: Battlefield4u.com 
ADD CONTENT
Topic
Content
Source link
Name
5+8 =