Hi chamidu, On Wed, Jul 29, 2009 at 6:52 AM, Chamidu Atupelage <[email protected]>wrote:
I am trying to setup xwiki using war on Tomcat and MySQL. I followed the instructions, but I cannot find the SQL Script to create the database tables "mysql -u xwiki -p xwiki -h 127.0.0.1 < mycommands.sql". Please help !!
I think you have used a XE war distribution. In that case, 1. Create a database named 'xwiki' 2. In WEB-INF/hibernate.cfg.xml uncomment the proper database configuration 3. Drop the proper database jdbc driver inside WEB-INF/lib 4. Start tomcat and navigate to localhost:8080. When it says "this wiki is empty" or something, import the default xar<http://forge.objectweb.org/project/download.php?group_id=170&file_id=13278>file which contains the wiki. Thanks. - Asiri