Hello Robinson, I'm sorry, I have no more idea. Every time I had problems about hibernate configuration, I succeed to solve it using mysql binaries in command line. Perhaps it's possible to set some debug log for hibernate layer? (I'm sure it is, but if someone has a clue about it..?). Otherwise I will get back to you with some news about how to set this debug to be sure what xwiki is trying to do. Have a nice day, GuillaumeF 2012/7/26 raav2012 <raav6@hotmail.com>
Hi Guillaume,
I've tried with the command you gave me and and I get this
http://xwiki.475771.n2.nabble.com/file/n7580559/02_-_Connect_with_password.j...
As you can see so far I can login to the DB and I have full grants
Change the port in hibernate.cfg.xml as you suggested.
http://xwiki.475771.n2.nabble.com/file/n7580559/03_-_hibernate_conf_file.jpg
Reload tomcat... and tada!.... Still the same issue :-( http://xwiki.475771.n2.nabble.com/file/n7580559/04_-_Same_problem.jpg
Ive tried any sort of connections in the hibernate.cfg.xml file and I get always the same.
Also I ve tried this
"What do you have in /etc/hosts ? I suspect some weird reverse DNS You should make sure nslookup 127.0.0.1 returns 'localhost' and not 'localhost.localdomain' which might be unknown to your mysql instance.
You should have 127.0.0.1 localhost in your /etc/hosts (probably being first)
Ludovic " From this post
http://xwiki.475771.n2.nabble.com/Re-Could-not-initialize-main-XWiki-context...
http://xwiki.475771.n2.nabble.com/Re-Could-not-initialize-main-XWiki-context...
I just don't get it, I'll keep searching anyway.
Thanks a lot Guillaume. Cheers. Robinson.
-- View this message in context: http://xwiki.475771.n2.nabble.com/Mysql-Configuration-problem-tp7580467p7580... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users