Uploaded image for project: 'XWiki Docker images'
  1. XWiki Docker images
  2. XDOCKER-131

docker-entrypoint doen't set database

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • using xwiki:lts-mysql-tomcat:latest
    • Medium
    • N/A
    • N/A
    • Awaiting Contributor feedback

    Description

      When deploying manually (not using Docker compose) the docker image Mysql, setting the DB name to something OTHER than xwiki provokes a
      "com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Access denied for user 'xwiki'@'%' to database 'xwiki'"

       

      seems close to https://jira.xwiki.org/browse/XDOCKER-10

       

      docker-entrypoint is changing the db name according to env in hibernate.cfg.yml but not in xwiki.cfg

       

      Attachments

        Activity

          People

            teogoddet Téo GODDET
            teogoddet Téo GODDET
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: