candlepin/candlepin — pull request #381 by awood (2013-09-20 16:13:52+00:00)
Title: Awood/mysql liquibase

Setting up MySQL should only require installing the mysql-server and mysql-connector-java RPMs. The deploy script will take care of creating the candlepin user if it is not present.

Place the following in your `/etc/candlepin/candlepin.conf`:
```
jpa.config.hibernate.connection.driver_class=com.mysql.jdbc.Driver
jpa.config.hibernate.connection.url=jdbc:mysql:///candlepin
jpa.config.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
jpa.config.hibernate.connection.username=candlepin
jpa.config.hibernate.connection.password=

org.quartz.jobStore.driverDelegateClass = org.quartz.impl.jdbcjobstore.StdJDBCDelegate
org.quartz.dataSource.myDS.driver = com.mysql.jdbc.Driver
org.quartz.dataSource.myDS.URL = jdbc:mysql:///candlepin
org.quartz.dataSource.myDS.user = candlepin
org.quartz.dataSource.myDS.password =
org.quartz.dataSource.myDS.maxConnections = 5
```

Make sure you comment out any options that might conflict with the options above!

Use `buildconf/scripts/deploy -m` to deploy to MySQL.