diff --git a/web-api/db/mysql/create_user.sql b/web-api/db/mysql/create_user.sql index 279d7944..7876ee92 100644 --- a/web-api/db/mysql/create_user.sql +++ b/web-api/db/mysql/create_user.sql @@ -6,7 +6,7 @@ set global read_only=0; create user 'jeesite'@'%' identified by 'jeesite'; -create database jeesite DEFAULT CHARSET 'utf8' COLLATE 'utf8_general_ci'; +create database jeesite DEFAULT CHARSET 'utf8mb4' COLLATE 'utf8mb4_unicode_ci'; grant all privileges on jeesite.* to 'jeesite'@'%' identified by 'jeesite'; diff --git a/web-fast/db/mysql/create_user.sql b/web-fast/db/mysql/create_user.sql index 279d7944..7876ee92 100644 --- a/web-fast/db/mysql/create_user.sql +++ b/web-fast/db/mysql/create_user.sql @@ -6,7 +6,7 @@ set global read_only=0; create user 'jeesite'@'%' identified by 'jeesite'; -create database jeesite DEFAULT CHARSET 'utf8' COLLATE 'utf8_general_ci'; +create database jeesite DEFAULT CHARSET 'utf8mb4' COLLATE 'utf8mb4_unicode_ci'; grant all privileges on jeesite.* to 'jeesite'@'%' identified by 'jeesite'; diff --git a/web/db/mysql/create_user.sql b/web/db/mysql/create_user.sql index 279d7944..7876ee92 100644 --- a/web/db/mysql/create_user.sql +++ b/web/db/mysql/create_user.sql @@ -6,7 +6,7 @@ set global read_only=0; create user 'jeesite'@'%' identified by 'jeesite'; -create database jeesite DEFAULT CHARSET 'utf8' COLLATE 'utf8_general_ci'; +create database jeesite DEFAULT CHARSET 'utf8mb4' COLLATE 'utf8mb4_unicode_ci'; grant all privileges on jeesite.* to 'jeesite'@'%' identified by 'jeesite';