I forgot:


In order to have maven create-schema work, you should create a directory with 
the database name here: C:mysqldatayourDBname

Make mysql server is started when you use the create-schema command.

You can start it with the following command: 

c:mysqlbinmysqld --console



That is how it worked for me.



Do not forget to add mysql-ds.xml in jboss-x.x.xserverdefaultdeploy

There is a sample in jboss-x.x.xdocsexamplesjca.  Change user name to root and 
leave password blank (assuming you do not need much security).  Change the 
project.properties file in your andromda project root accordingly.



Also copy the mysql jdbc driver to: jboss-x.x.xserverdefaultlib

You can download from here: http://dev.mysql.com/downloads/connector/j/3.1.html

Decompress the file and you wil get 2 drivers.  You should use 
mysql-connector-java-3.1.10-bin.jar.  The other driver is for debugginf purpose.

Note: driver 3.1 is for mysql 4.1 and up.  If you have a previous version of 
mysql you need the 3.0 jdbc connector.



Let me know of you still have problems
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2577#2577
Posting to http://forum.andromda.org/ is preferred over posting to the mailing 
list!


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to