I thought I already posted this question but I don't see it here. Does JDBC have the capability to let me create databases programmatically so I can completely automate the installation of an application? Could I even have my application automatically start up the MySQL process if it is not already running? How would I do that? I just started reading about JDO -- perhaps that is what it is for.
posted 13 years ago
hi Well u could create a database in mysql when u start the installation of your application .All you have to do is execute a jdbc query to create a database (create database database name We have done this before. And you could always. You could start mysql by starting the process. Use runtime process in java , would help. Lemme know if you do want the code for the same regards riaz