On Mon, Oct 6, 2008 at 11:52 PM, MinhHoang To <hoang281283(a)gmail.com> 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#HInstallan…).
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
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne