9、grails console打印sql语句配置

阅读更多
development {
        dataSource {
            dbCreate = "update" // one of 'create', 'create-drop', 'update', 'validate', ''
            url = "jdbc:mysql://115.28.151.196:3306/mixboss?useUnicode=true&characterEncoding=utf-8"
            //url = "jdbc:mysql://192.168.115.118:3306/mixboss_wqh2?useUnicode=true&characterEncoding=utf-8"
           logSql = true
        }
    }

你可能感兴趣的:(grails,sql)