Changeset 228 for trunk


Ignore:
Timestamp:
Dec 17, 2009, 2:19:01 PM (15 years ago)
Author:
gav
Message:

Added an example for MSSQL datasource.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/conf/DataSource.groovy

    r178 r228  
    6464//             dbCreate = "update"
    6565//             url = "jdbc:hsqldb:file:prodDb;shutdown=true"
     66            /** MSSQL */
     67            //For more info see the docs that you downloaded with the driver.
     68//             driverClassName = "com.microsoft.sqlserver.jdbc.SQLServerDriver"
     69//             username = "gnumimsadmin"
     70//             password = "gnumimsadmin"
     71//             dbCreate = "update"
     72//             databaseName = "gnumims_prod"
     73//             url = "jdbc:sqlserver://gnumimssql01:1433"
    6674            /** MySQL */
    6775            driverClassName = "com.mysql.jdbc.Driver"
     
    7179            url = "jdbc:mysql://gnumimssql01:3306/gnumims_prod?autoReconnect=true&sessionVariables=storage_engine=InnoDB"
    7280        }
     81
    7382    }
    7483}
Note: See TracChangeset for help on using the changeset viewer.