Skip to content

Commit 59c96c7

Browse files
committed
Simplyfy overkill utf8mb4 settings
From https://dev.mysql.com/doc/refman/5.6/en/charset-connection.html A SET NAMES 'charset_name' statement is equivalent to these three statements: SET character_set_client = charset_name; SET character_set_results = charset_name; SET character_set_connection = charset_name; Therefore it is probably overkill to have 'SET NAMES'. Also using both - and _ in variable names in useless as they translate to the same variable.
1 parent 2f71f68 commit 59c96c7

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

debian/additions/mariadb.conf.d/mysqld.cnf

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,15 +85,11 @@ max_binlog_size = 100M
8585
#
8686
# * Character sets
8787
#
88-
# MySQL/MariaDB default is Latin1, but in Debian we rather default to the full
88+
# MySQL/MariaDB default is Latin1, but in Debian we rather default to the full
8989
# utf8 4-byte character set. See also client.cnf
9090
#
9191
character-set-server = utf8mb4
9292
collation-server = utf8mb4_general_ci
93-
character_set_server = utf8mb4
94-
collation_server = utf8mb4_general_ci
95-
init-connect='SET NAMES utf8mb4'
96-
9793

9894
#
9995
# * Unix socket authentication plugin

0 commit comments

Comments
 (0)