Hi!
I got this from the stack trace when trying to setup xwiki on docker:
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Access denied for user ‘xwiki_pow_user’@’%’ to database ‘xwiki’
But I started the container with this line (copy/pasted from bash, no typo)
-e DB_DATABASE=xwiki_pow \
So it seems that the _pow was removed from the DB name which would be strange. No I am guessing that DB_DATABASE is the wrong environment variable name so it just defaulted to xwiki?
What would be the correct name?
Edit: Peculiar. I decided to use the default xwiki as db name for now, so I changed the name in the db. But then I ran the same docker command, I forgot to remove the _pow. Strangely, the error I got was this: Access denied for user ‘xwiki_pow_user’@’%’ to database ‘xwiki_pow’
So suddenly it WAS able to get the db name from the environment variable (but then it didn’t exist any more)… I suspect some confusion in the code…