create a database and a user from the JDBC string

nodje <[email protected]> Mon, 16 Jun 2008 20:55:58 -0700 (PDT)
Newsgroups gmane.comp.db.mysql.java
Message-ID <[email protected]>
Hi,

I'd like to be able to create a database and a user at first connection on
an existing Mysql server.

if the usage of JDBC parameters like createDatabaseIfNotExist is pretty
clear to me, the frontier between the standard J and the MXJ connector is
blurred to me.
I'd be working with an existing server, so as far as I understand I don't
need MXJ and the embedded mysqld. 
But I want to be able to create a user and it's right on the fly. Is the
server.initialize-user=true what I'm looking for? How do I get that working?
I need MXJ I suppose but don't want to deploy a mysql.

thanks in advance for helping!
-- 
View this message in context: http://www.nabble.com/create-a-database-and-a-user-from-the-JDBC-string-tp17877631p17877631.html
Sent from the MySQL - Java mailing list archive at Nabble.com.


-- 
MySQL Java Mailing List
For list archives: http://lists.mysql.com/java
To unsubscribe:    http://lists.mysql.com/[email protected]