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 Percona to use utf8mb4 for correct unicode processing ==
== edit MariaDB to use utf8mb4 for correct unicode processing ==
Enable toku (Find and Uncomment the load module)


<pre>ps-admin --enable-tokudb -u root -p</pre>
{{hc|sudo nano /etc/mysql/my.cnf|<nowiki>
You may need to run that command again. Check the output to verify.
[client]
 
{{hc|sudo nano /etc/mysql/conf.d/mysql.cnf|<nowiki>
[mysql]
default-character-set = utf8mb4
default-character-set = utf8mb4
</nowiki>}}


{{hc|sudo nano /etc/mysql/percona-server.conf.d/mysqld.cnf|<nowiki>
[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
default_storage_engine = TokuDB
## Comment these to disable binary log
max_connections = 1000
#log_bin = /var/log/mysql/mariadb-bin
#log_bin_index = /var/log/mysql/mariadb-bin.index
#expire_logs_days = 10
#max_binlog_size        = 100M


[client]
[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
Please note that all contributions to Bibliotheca Anonoma are considered to be released under the Creative Commons Attribution-ShareAlike (see Bibliotheca Anonoma:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)

Templates used on this page: