Horje
mariadb utf8mb4 Code Example
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%';




C

Related
add field to model rails Code Example add field to model rails Code Example
bitwise operators Code Example bitwise operators Code Example
prime number c program Code Example prime number c program Code Example
inserting array Code Example inserting array Code Example
pg_restore: error: input file appears to be a text format dump. Please use psql. Code Example pg_restore: error: input file appears to be a text format dump. Please use psql. Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9