[xwiki-users] Cannot find SQL Script
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 !!
No need to create DB tables the only thing you need to do is to create a DB which normally is named 'xwiki'. The tables will be created when XWiki starts up the first time and will be updated when you fire up a new version. Have fun Andreas Schaefer CEO of Madplanet.com Inc. EMail: [email protected] [email protected] Twitter: andy_mpc AIM: [email protected] On Tuesday, July 28, 2009, at 06:22PM, "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 !! _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
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
participants (3)
-
Andreas Schaefer -
Asiri Rathnayake -
Chamidu Atupelage