...
- Checkout the project
No Format svn checkout https://svn.kuali.org/repos/ole/branches/dev/50-upgrade-test-1
- Change into the directory for the ole-sql module
No Format cd ole-app/ole-db/ole-sql
- Bundle the SQL
No Format mvn clean install
- Execute the SQL
No Format mvn initialize -N -Pdb,mysql -N
- The default MySQL process assumes
- There is a MySQL server running locally
- The server is version 5.1+
- The
root
user for MySQL does not have a password - The server is listening for connections on port 3306
- The JDBC URL that must respond is
jdbc:mysql://localhost
- The process will create a database user named
OLE
with the password set toOLE
- The process will create and populate a database named
OLE
- To execute the SQL against an Oracle database
No Format mvn initialize -N -Pdb,oracle -N
PROPERTIES
Name | Default | Description |
---|---|---|
mysql.dba.username | root | MySQL user with dba privileges |
mysql.dba.password | NONE | Special value meaning there is no password for |
mysql.dba.url | jdbc:mysql://localhost | The JDBC URL |
oracle.dba.username | SYS AS SYSDBA | Oracle user with dba privileges |
oracle.dba.password | CHANGE_ON_INSTALL | The default password after a new install |
oracle.dba.url | jdbc:oracle:thin:@localhost:1521:XE | The JDBC URL the Oracle dba user connects to |
jdbc.username | OLE | The name of the user and database to create |
jdbc.password | OLE | The password for the |
...
- Default property values can be customized by
- Using
-Dname=value
to set a system propertyNo Format mvn initialize -N -Pdb,mysql -N -Dmysql.dba.password=xyz
- Adding them to the properties file
No Format ~/.kuali/ole/ole-sql.properties
- Using
- System properties always win if a custom value is provided in both places