feat: 3.2.0
1. 修改oracle默认用户名
This commit is contained in:
parent
445cf77314
commit
6c31df699e
@ -53,7 +53,7 @@ services:
|
||||
volumes:
|
||||
- oracle:/u01/app/oracle/oradata
|
||||
- ../sql/easy_retry_oracle.sql:/tmp/schema.sql:ro
|
||||
# 创建app用户: root/root@//localhost/XEPDB1
|
||||
# 创建app用户: easy_retry/EasyRetry@//localhost/XEPDB1
|
||||
- ./oracle/1_create_user.sql:/docker-entrypoint-initdb.d/1_create_user.sql:ro
|
||||
- ./oracle/2_create_schema.sh:/docker-entrypoint-initdb.d/2_create_schema.sh:ro
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
ALTER SESSION SET CONTAINER=XEPDB1;
|
||||
|
||||
CREATE USER ROOT IDENTIFIED BY root QUOTA UNLIMITED ON USERS;
|
||||
CREATE USER EASY_RETRY IDENTIFIED BY EasyRetry QUOTA UNLIMITED ON USERS;
|
||||
|
||||
GRANT CONNECT, RESOURCE TO ROOT;
|
||||
GRANT CONNECT, RESOURCE TO EASY_RETRY;
|
||||
|
@ -1 +1 @@
|
||||
sqlplus -s root/root@//localhost/XEPDB1 @/tmp/schema.sql
|
||||
sqlplus -s easy_retry/EasyRetry@//localhost/XEPDB1 @/tmp/schema.sql
|
||||
|
@ -20,8 +20,8 @@ spring:
|
||||
## Oracle
|
||||
# driver-class-name: oracle.jdbc.OracleDriver
|
||||
# url: jdbc:oracle:thin:@//localhost:1521/XEPDB1
|
||||
# username: root
|
||||
# password: root
|
||||
# username: easy_retry
|
||||
# password: EasyRetry
|
||||
## SQL Server
|
||||
# driverClassName: com.microsoft.sqlserver.jdbc.SQLServerDriver
|
||||
# url: jdbc:sqlserver://localhost:1433;DatabaseName=easy_retry;SelectMethod=cursor;encrypt=false;rewriteBatchedStatements=true
|
||||
|
Loading…
Reference in New Issue
Block a user