Changes for page MySQL Installation

Last modified by Thomas Mortagne on 2023/11/16

From version 58.1
edited by Thomas Mortagne
on 2020/05/28
Change comment: There is no comment for this version
To version 59.1
edited by Thomas Mortagne
on 2020/05/28
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -33,7 +33,7 @@
33 33  )))
34 34  * Create the ##xwiki## user with password ##xwiki##(((
35 35  {{code}}
36 -CREATE USER 'xwiki'@'localhost' IDENTIFIED BY 'xwiki';
36 +mysql -u root -e "CREATE USER 'xwiki'@'localhost' IDENTIFIED BY 'xwiki'";
37 37  {{/code}}
38 38  )))
39 39  * Give privileges to the ##xwiki## user for accessing and creating databases (for the multi wiki support). Specifically the ##xwiki## users needs permissions to be able to execute {{code}}CREATE DATABASE{{/code}}, {{code}}DROP SCHEMA{{/code}}, and then all CRUD operations on tables. Note that the command below should be tuned to be more restrictive as granting all permissions is not required:(((

Get Connected