Note |
---|
The following examples use a mysql database. You will need to make the necessary modifications using your database server specifications in order for the following steps to work. |
Step 1
...
: Create Placeholder Database
No data will actually be migrated there, but it is required to validate uPortal connectivity settings.
Code Block | ||
---|---|---|
| ||
mysql -u root -p mysql create database myws401; create user 'myws401user'@'localhost' identified by 'myws401pass'; grant all on myws401.* to 'myws401user'@'localhost'; |
Step 2
...
: Update Database Dependencies
File Location: uPortal-4.0.2-quick-start/pom.xml
...
Code Block | ||
---|---|---|
| ||
<dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>5.1.6</version> </dependency> |
Step 3
...
: Provide Placeholder Database Connection Details
Properties File Location: uPortal-4.0.2-quick-start/uPortal-4.0.2/uportal-war/src/main/resources/properties/rdbm.properties
Code Block |
---|
hibernate.connection.driver_class=com.mysql.jdbc.Driver hibernate.connection.url=jdbc:mysql://127.0.0.1:3306/myws401 hibernate.connection.username=myws401user hibernate.connection.password=myws401pass hibernate.dialect=org.hibernate.dialect.MySQLDialect |
Step 4
...
: Run Ant Targets
Build File Location: uPortal-4.0.2-quick-start/uPortal-4.0.2/build.xml
...