db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Helge Weissig <hel...@grajagan.org>
Subject Re: using a second database
Date Tue, 18 Apr 2006 21:52:52 GMT
As I said below, you and Thomas are correct except for the creation  
of the database. If you want torque to create it, the name in the  
schema.xml file needs to be the same as the one specified in your  
connection URL.

cheers,
h.


On Apr 18, 2006, at 11:54 AM, Guy Galil wrote:

> All you need to do is change the url string in your torque.properties
> file - each developer should have the url point to a different  
> database:
> as long as in your schema your database name is <db>
> for developer 1
> torque.dsfactory.<db>.connection.url
> =jdbc:mysql://<someip>:<someport>/sandbox1
>
> for developer 2
> torque.dsfactory.<db>.connection.url
> =jdbc:mysql://<someip>:<someport>/sandbox2
>
> The database name in the schema and the objects is just a logical
> pointer to the settings in the properties file.

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message