Posted By

callmeblessed on 01/02/09


mysql database groovy grails programming innodb

Versions (?)

Who likes this?

2 people have marked this snippet as a favorite


Grails + Mysql : how to make sure that the table is using InnoDB

 / Published in: Groovy


I need to create all table in InnoDB in my grails application. you can add this / edit the following code on grails-app/conf/Datasource.groovy

  1. dataSource {
  2. pooled = true
  3. driverClassName = "com.mysql.jdbc.Driver"
  4. username = "wysmedia"
  5. password = "password"
  6. dialect = org.hibernate.dialect.MySQLInnoDBDialect
  7. }

Report this snippet  

You need to login to post a comment.