![]() ![]() The Subwiki creation process complains that the database already exists.Ī workaround I have found is to start xwiki with the MySQL root user. Creating the database for the new wiki beforehand and granting permissions to the xwiki MySQL user does not work. According to this blog post, enabling a non-root user to create and populate databases would require updating the createdb stored procedure. Verify default configuration: docker exec -it mariadb mysql -h localhost -u root -p < enter root password >.Granting CREATE (or even ALL) permissions to the xwiki user does not help, as the user then might be able to create a database, but won’t be allowed to access it. ![]() Creating a new Wiki through the Wiki index therefore fails. This is however required for creating subwikis (on MySQL, Subwikis must exist in separate databases, as XWiki documentation suggests). In a default MySQL installation, this new “xwiki” user seems to not be able to create new databases. a) First stop/remove the container we have created in previous sections. In this step, we will map the port from the docker container to a port on localhost which would be used to connect to MySQL. The Wiki by default uses the “xwiki” MySQL user, which is (I assume) created during the installation process by using the MySQL root user (XWiki also knows the MySQL root password).Īfter setup, the xwiki MySQL user has the following grants: Let’s try to understand the different steps involved here: 1) Start the container and map to a local port. Start a new MySQL 5. ![]() See instructions in Downloading a MySQL Server Docker Image make sure you use the right tag for MySQL 5.7. Adding Subwikis does not work out of the box: Stop the MySQL 5.6 server (container name is mysql56 in this example): docker stop mysql56 Download the MySQL 5.7 Server Docker image. Hello, I am currently trying to install an XWiki 10.1 (Standard Flavor) instance from the official xwiki:10-mysql-tomcat docker image using the provided docker-compose files. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |