-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Oracle steps to create new user
- Loading branch information
ipolevoy
committed
Apr 8, 2018
1 parent
505934f
commit 835f7a6
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> | ||
|