On Aug 16, 2005, at 9:44 AM, Miguel Angel Bayona PĂ©rez wrote:
I've changed localhost by 127.0.0.1 in the
connection string in the
file hibernate.cfg.xml and I'm getting same result (see attached
logs). As you hint, it seems to be that MySQL does not allow
connections from xwiki. It is extrange because, I'm accesing MySQL
with no problem using phpMyAdmin and evetithing seems to be ok.
xwiki user has grantes access rights to all the databases in MySQL.
Any other idea?
Try granting privileges in mysql to localhost.localdomain as well as
127.0.0.1
grant all privileges on xwiki.* to xwiki(a)localhost.localdomain
identified by 'xwiki' ;
grant all privileges on xwiki.* to xwiki@localhost identified by
'xwiki' ;
grant all privileges on xwiki.* to xwiki(a)127.0.0.1 identified by
'xwiki' ;
Matt