Default UTF8MB4 for CREATE DATABASE

This commit is contained in:
Alexandre Alapetite 2017-04-16 16:04:38 +02:00
commit a2a03c3f70
3 changed files with 3 additions and 3 deletions

View file

@ -100,7 +100,7 @@ sudo ln -fs /vagrant /var/www
cp /vagrant/util/htconfig.vagrant.php /vagrant/.htconfig.php
# create the friendica database
echo "create database friendica" | mysql -u root -proot
echo "create database friendica DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci" | mysql -u root -proot
# import test database
$MYSQL -uroot -proot friendica < /vagrant/friendica_test_data.sql