Skip to content

Commit

Permalink
Added Oracle steps to create new user
Browse files Browse the repository at this point in the history
  • Loading branch information
ipolevoy committed Apr 8, 2018
1 parent 505934f commit 835f7a6
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions doc/oracle.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
how to create a new user on Orable:

1. Login using any SQL tool and user 'system', password: 'oracle'
2. Execute these statements:

CREATE USER javalite IDENTIFIED BY passw0rd;
GRANT CONNECT TO javalite;
GRANT CONNECT, RESOURCE, DBA TO javalite;

3. Set this user/password on the Oracle profile in settings.xml such as:

<profile>
<id>oracle</id>
<!--
Start a tunnel:
ssh -fNg -L localhost:1521:192.168.85.10:1521 ci.javalite.io
-->
<properties>
<jdbc.driver>oracle.jdbc.OracleDriver</jdbc.driver>
<jdbc.url>jdbc:oracle:thin:@//localhost:1521/xe</jdbc.url>
<jdbc.user>system</jdbc.user>
<jdbc.password>oracle</jdbc.password>
<jdbc.user>javalite</jdbc.user>
<jdbc.password>passw0rd</jdbc.password>
<db>oracle</db>
</properties>
</profile>

0 comments on commit 835f7a6

Please sign in to comment.