r2 - 19 Jul 2007 - 06:23:58 - MimiYinYou are here: OSAF >  Journal Web  >  QualityAssuranceTeam > AdamChristianNotes > AdamChristianCosmoMysqlPostMerge

Cosmo with MySQL?

Post Merge there are some Changing and some possible confusion in this process but the directions from Randy are greatly appreciated and worked great.

Step 1: Get access to a MySQL? DB instance, I installed this on the MacBook? PRO with the installer package and used CocoaMySQL? to create a database called Cosmo

Step 2: In tomcat/conf/server.xml change the db resource def to be:

This is in the file now, you just have to uncomment it. [db] is the database you were given, or in my case created.

Step 3: The MySQL? jdbc driver is already in tomcat/common/lib in post merge, but double check to make sure.

Step 4: Modify /tomcat/webapps/cosmo/WEB-INF/classes/applicationContext.xml and uncomment org.hibernate.dialect.MySQL5Dialect

DONE! Load it up.

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r2 < r1 | More topic actions
 
Open Source Applications Foundation
Except where otherwise noted, this site and its content are licensed by OSAF under an Creative Commons License, Attribution Only 3.0.
See list of page contributors for attributions.