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 
([email protected](mailto:[email protected])) 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.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to