Update mysql_4byte_support.rst

Added php for the instructions of changing the config.php and converting the existing tables.
This commit is contained in:
Marc Schröder 2018-03-05 10:07:46 +01:00 committed by Morris Jobke
parent 0e186baead
commit 74f8a8e330
No known key found for this signature in database
GPG Key ID: FE03C3A163FEDE68

View File

@ -20,11 +20,11 @@ installation needs to be tweaked a bit.
5. Set the ``mysql.utf8mb4`` config to true in your config.php::
$ sudo -u www-data occ config:system:set mysql.utf8mb4 --type boolean --value="true"
$ sudo -u www-data php occ config:system:set mysql.utf8mb4 --type boolean --value="true"
6. Convert all existing tables to the new collation by running the repair step::
$ sudo -u www-data occ maintenance:repair
$ sudo -u www-data php occ maintenance:repair
Now you should be able to use Emojis in your file names, calendar events, comments and many more.