[xwiki-users] Using a database name other than 'xwikidb'
*In a web-app leveraging XWiki, is it possible to use a database with name other than 'xwikidb'? If the answer is yes, what i have to amend? * I've started using XWiki recently to build a web-app. For the test with local MySQL ( with local MySQl, i could create database 'xwikidb' ) and local Tomcat, everything we 've developed run well. However, we encountered database connection troubles after uploading our work to a host. To avoid datbase name conflicts, the hosting service adds a prefix to any database name. Hence, we could not have database 'xwikidb' with our current hosting service. Unfortunately, that caused connection error as XWiki uses somewhere the default parameter 'xwikidb' for the connection ( being a new user, i have not been able to figure out what has to be customized)
Hi, I'm assuming you mean changing the schema name. Yes it's possible. See http://jira.xwiki.org/jira/browse/XWIKI-2006 Thanks -Vincent On Oct 6, 2008, at 11:52 PM, MinhHoang To wrote:
*In a web-app leveraging XWiki, is it possible to use a database with name other than 'xwikidb'? If the answer is yes, what i have to amend? * I've started using XWiki recently to build a web-app. For the test with local MySQL ( with local MySQl, i could create database 'xwikidb' ) and local Tomcat, everything we 've developed run well. However, we encountered database connection troubles after uploading our work to a host.
To avoid datbase name conflicts, the hosting service adds a prefix to any database name. Hence, we could not have database 'xwikidb' with our current hosting service. Unfortunately, that caused connection error as XWiki uses somewhere the default parameter 'xwikidb' for the connection ( being a new user, i have not been able to figure out what has to be customized)
*In a web-app leveraging XWiki, is it possible to use a database with name other than 'xwikidb'? If the answer is yes, what i have to amend? *
1. Yes, in xwiki-1.6 series 2. See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HConfigure... for configuration issues.
On Mon, Oct 6, 2008 at 11:52 PM, MinhHoang To <[email protected]> wrote:
*In a web-app leveraging XWiki, is it possible to use a database with name other than 'xwikidb'? If the answer is yes, what i have to amend? *
You mean "xwiki" ? If you are using XEM/multiwiki look at what Vincent and Ruslan pointed out. As your are using MySQL and if you are using XE in with one wiki/database you just can modify your hibernate.cfg.xml file according to the name of your database (see http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HInstalland...).
I've started using XWiki recently to build a web-app. For the test with local MySQL ( with local MySQl, i could create database 'xwikidb' ) and local Tomcat, everything we 've developed run well. However, we encountered database connection troubles after uploading our work to a host.
To avoid datbase name conflicts, the hosting service adds a prefix to any database name. Hence, we could not have database 'xwikidb' with our current hosting service. Unfortunately, that caused connection error as XWiki uses somewhere the default parameter 'xwikidb' for the connection ( being a new user, i have not been able to figure out what has to be customized) _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
participants (4)
-
MinhHoang To -
rssh@gradsoft.com.ua -
Thomas Mortagne -
Vincent Massol