Vittorio Torroni wrote:
Hello,
I've set up the xwiki user on mysql, with xwiki as a password and I've granted all rights on the xwiki database. I've tested the access rights by logging into mysql as xwiki, creating a test table in the xwiki database and dropping it. My hibernate.cfg.xml file contains the correct credentials for xwiki:
<property name="connection.username">xwiki</property> <property name="connection.password">xwiki</property>
And yet when I try to open http://localhost:8080/xwiki (or using 127.0.0.1 instead of localhost), it asks for username and password to access the XWiki area, and it doesn't like username = xwiki and password = xwiki. Tomcat says the http authentication failed.
The Tomcat directory structure is owned by the user I use to launch it (I'm on a Mac OS 10.4).
Any clue as to what the problem might be?
The database username/password is not supposed to be used in the user interface. What kind of authentication screen do you get? Note that by default XWiki comes with a default user, "Admin", and the password "admin". Try these credentials first. -- Sergiu Dumitriu http://purl.org/net/sergiu/