Re: Open database connection from Ant

2007-02-22 Thread Steve Loughran
lightbulb432 wrote: Sounds interesting, but how can I do this with Ant? Beginner, remember...? :) Whcih platform are you running? Windows or Unix? Steve Loughran wrote: lightbulb432 wrote: I should have changed my question from "open a connection to a database" to "start the database ser

Re: Open database connection from Ant

2007-02-21 Thread lightbulb432
looks like you just want mysqld to come up on > restart. If this is windows, make the service automatic in the computer > manager console, on linux add the symlink to start mysqld in runlevel 5, > stop it on the way out, or use your distro's gui tools to do this for you. > >

Re: Open database connection from Ant

2007-02-19 Thread Steve Loughran
lightbulb432 wrote: I should have changed my question from "open a connection to a database" to "start the database server"...that seems more like it. lightbulb432 wrote: How can I open a connection to a database from Ant? I have an Ant build that builds and deploys an EAR file to an applicat

Re: Open database connection from Ant

2007-02-18 Thread Kevin Jackson
I should have changed my question from "open a connection to a database" to "start the database server"...that seems more like it. Try sshexec if your server is a remote machine (of course it needs to be running sshd) Kev -

Re: Open database connection from Ant

2007-02-18 Thread lightbulb432
in Ant? > > Thanks. > -- View this message in context: http://www.nabble.com/Open-database-connection-from-Ant-tf3250704.html#a9036622 Sent from the Ant - Users mailing list archive at Nabble.com. - To unsubscribe,

Open database connection from Ant

2007-02-18 Thread lightbulb432
way to start the database server (but only if it isn't already running) from within Ant? Thanks. -- View this message in context: http://www.nabble.com/Open-database-connection-from-Ant-tf3250704.html#a9036614 Sent from the Ant - Users mailing list archive at Nabbl