From 8fac36e2c29e10d7fca3d5ebe99f12f8495bd27d Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Sat, 2 May 2020 09:46:18 +0200 Subject: [PATCH] Fix so the database setup description is compatible with MySQL 8 (#7340) [ci skip] --- CHANGELOG | 1 + INSTALL | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 459ac35f4..4c33a9894 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -18,6 +18,7 @@ CHANGELOG Roundcube Webmail - Templates: Make [space][slash] ending of condition objects optional (#6954) - Fix so messages in threads with no root aren't displayed separately (#4999) - Fix bug in extracting required plugins from composer.json that led to spurious error in log (#7364) +- Fix so the database setup description is compatible with MySQL 8 (#7340) RELEASE 1.4.4 ------------- diff --git a/INSTALL b/INSTALL index e76d4622a..2933e5c9e 100644 --- a/INSTALL +++ b/INSTALL @@ -106,9 +106,9 @@ importing the table layout and granting the proper permissions to the roundcube user. Here is an example of that procedure: # mysql -> CREATE DATABASE roundcubemail /*!40101 CHARACTER SET utf8 COLLATE utf8_general_ci */; -> GRANT ALL PRIVILEGES ON roundcubemail.* TO roundcube@localhost - IDENTIFIED BY 'password'; +> CREATE DATABASE roundcubemail CHARACTER SET utf8 COLLATE utf8_general_ci; +> CREATE USER roundcube@localhost IDENTIFIED BY 'password'; +> GRANT ALL PRIVILEGES ON roundcubemail.* TO roundcube@localhost; > quit # mysql roundcubemail < SQL/mysql.initial.sql