Could you show us the value of these 3 properties from your hibernate.cfg.xml file (or
better, paste it fully somewhere)?
    <property name="connection.url”>...
    <property name="connection.username”>...
    <property name="connection.password”>...
I’m not a MySQL expert but the error seems to indicate that you didn’t give the “xwiki”
used (the user used in  <property name="connection.username”>) the proper
rights in the DB somehow.
Thanks
-Vincent
On 7 Mar 2014 at 14:13:35, panyasan (info@bibliograph.org(mailto:info@bibliograph.org))
wrote:
  Unfortunately, this made things worse.
 Here's what I did:
 # mysql -u root -p -e "grant all privileges on *.* to xwiki@localhost
 identified by 'xwiki'"
 (entered root password)
 Now I am getting an HTTP Status 500 error from tomcat with the following
 stack trace:
 
http://pastebin.com/pFKrGcTx
 The most important line being probably:
 org.apache.commons.dbcp.SQLNestedException: Cannot create
 PoolableConnectionFactory (Access denied for user 'xwiki'@'localhost'
(using
 password: YES))
 :-(
 --
 View this message in context:
http://xwiki.475771.n2.nabble.com/Logfile-Stack-traces-tp7589450p7589471.ht…
 Sent from the XWiki- Users mailing list archive at 
Nabble.com.
 _______________________________________________
 users mailing list
 users(a)xwiki.org
 
http://lists.xwiki.org/mailman/listinfo/users