Skip to content

Commit

Permalink
mysql: use utf8mb4 in debian dbconf
Browse files Browse the repository at this point in the history
Close #432
  • Loading branch information
melmothx committed May 10, 2023
1 parent 50d27c3 commit c3b0593
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dbic.yaml.mysql.example
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ amuse:
password: 'xxxxxx'
AutoCommit: 1
RaiseError: 1
mysql_enable_utf8: 1
mysql_enable_utf8mb4: 1
quote_names: 1
4 changes: 2 additions & 2 deletions debian/amusewiki.postinst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ dbc_generate_include="sh:$amusewiki_dbc_include_file"
dbc_generate_include_owner="amusewiki"
dbc_generate_include_perms="0600"
dbc_first_version="1.994"
dbc_mysql_createdb_encoding="utf8"
dbc_mysql_createdb_encoding="utf8mb4"
dbc_dbfile_owner="amusewiki"
dbc_dbfile_perms="0600"

Expand Down Expand Up @@ -60,7 +60,7 @@ amuse:
password: '$dbpass'
AutoCommit: 1
RaiseError: 1
mysql_enable_utf8: 1
mysql_enable_utf8mb4: 1
quote_names: 1
EOF
;;
Expand Down
2 changes: 1 addition & 1 deletion t/dbic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ amuse_mysql:
dsn: 'dbi:mysql:amusewiki'
user: 'amusewiki'
password: 'Pa55Word'
mysql_enable_utf8: 1
mysql_enable_utf8mb4: 1
AutoCommit: 1
RaiseError: 1
quote_names: 1
Expand Down

0 comments on commit c3b0593

Please sign in to comment.