I just wanted to report this:
I setup a secondary host with mysql, on 10.0.0.55. I had to hard code the
hostname or IP address in windows.vm or unix.vm. Then everything worked
great!
Here's the details:
on primary computer:
TDK version a10
excerpt from TurbineResources.properties:
database.default.driver=org.gjt.mm.mysql.Driver
database.default.url=jdbc:mysql://10.0.0.55/test2
database.default.username=jdbc
database.default.password=jdbcpass
to initialize the project with the build-project script I first had to
change:
test2\WEB-INF\build\bin\torque\templates\sql\db-init\mysql\windows.vm
to read:
mysqladmin -u $databaseUser -p$databasePassword -h10.0.0.55 --force drop
$project
mysqladmin -u $databaseUser -p$databasePassword -h10.0.0.55 --force create
$projector
or
test2\WEB-INF\build\bin\torque\templates\sql\db-init\mysql\unix.vm
to read:
echo y | mysqladmin -u $databaseUser -p$databasePassword -h10.0.0.55 drop
$project
echo y | mysqladmin -u $databaseUser -p$databasePassword -h10.0.0.55 create
$project
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]