Editing FoolFuuka/Install/Ubuntu16
From Bibliotheca Anonoma
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 186: | Line 186: | ||
}} | }} | ||
== edit | == edit MariaDB to use utf8mb4 for correct unicode processing == | ||
{{hc|sudo nano /etc/mysql/my.cnf|<nowiki> | |||
[client] | |||
{{hc|sudo nano /etc/mysql/ | |||
[ | |||
default-character-set = utf8mb4 | default-character-set = utf8mb4 | ||
[mysqld] | [mysqld] | ||
character-set-client-handshake = FALSE | character-set-client-handshake = FALSE | ||
Line 203: | Line 197: | ||
collation-server = utf8mb4_general_ci | collation-server = utf8mb4_general_ci | ||
open-files-limit=40000 | open-files-limit=40000 | ||
skip-log-bin | skip-log-bin | ||
## Comment these to disable binary log | |||
#log_bin = /var/log/mysql/mariadb-bin | |||
#log_bin_index = /var/log/mysql/mariadb-bin.index | |||
#expire_logs_days = 10 | |||
#max_binlog_size = 100M | |||
[ | [mysql] | ||
default-character-set = utf8mb4 | default-character-set = utf8mb4 | ||
</nowiki>}} | </nowiki>}} | ||
Enable toku (Find and Uncomment the load module) | |||
<pre>sudo nano /etc/mysql/conf.d/tokudb.cnf </pre> | |||
<pre>sudo systemctl stop mysql | <pre>sudo systemctl stop mysql |