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


Copy this code and paste it in your HTML
  1. dataSource {
  2. pooled = true
  3. driverClassName = "com.mysql.jdbc.Driver"
  4. username = "wysmedia"
  5. password = "password"
  6. dialect = org.hibernate.dialect.MySQLInnoDBDialect
  7. }

URL: www.wysmedia.com

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.