On Sat, Jun 28, 2008 at 7:51 PM, rssh <[email protected]> wrote:
Good day. I test work of xwiki virtual mode with mysql and discovered, that if I follow Administration Guide and create database user xwiki, than switching between wiki-s in virtual mode is failed with exception like:
Access denied for user 'xwiki'@'127.0.0.1' to database 'a22ii'
When I set user root in hibernate.cfg.xml than all is good.
1. So, this must be noted in Administration Guide. 2. And why I write to list: I discovered that 'grant all on *.* to [email protected]' does not fix situation .. So, this is something wrang with my mysql ? [fresh install from Fedora9 packages] or exists some extra magic to grant access to all databases to xwiki mysql user ?
I do no more than give all the rights to user xwiki in mysql to be able to create and switch to different virtual wikis. "Access denied for user 'xwiki'@'127.0.0.1' to database 'a22ii'" is a pure mysql error saying that apparranty you did not give all right to the user as you may now so it's a mysql problem IMO. Are you sure hibernate.cfg.xml is configured to acces mysql using 127.0.0.1 (and exactly 127.0.0.1, it's possible 127.0.0.1 and localhost are two differents thing for MySql) ?
-- Ruslan Shevchenko GradSoft. http://www.gradsoft.ua
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne