jing shen wrote:
I use tomcat and mysql to install xwiki. I choose war
file to deploy. But
after I finish the configure and visit the link(http://localhost:8080/xwiki/
).
The error occur. I think maybe because I do not import the database
schema. But I can't find it in the war file.
As stated on
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMySQL
you should run:
create database xwiki
grant all privileges on xwiki.* to xwiki(a)127.0.0.1 identified by 'xwiki'
XWiki creates its tables when started, there's no need to import any
schema. It just needs the right to do that.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/