Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Insufficient privileges while creating database link

User_4CGCSJun 8 2022 — edited Jun 8 2022

Hi I have created a apex instance in oracle cloud, now from this apex I am trying to create a database link, but its showing me the insufficient privileges error. I tried giving all the role grant to this user from the database which is provisioned while creating the apex, I also ran the command separately " GRANT CREATE DATABASE LINK TO USERNAMEHERE " from the autonomous db as admin, still I am getting same error:
This is the command I am running:
CREATE DATABASE LINK horus_ro
CONNECT TO XXXX IDENTIFIED BY XXXXX
USING
'(DESCRIPTION=
(ADDRESS=(PROTOCOL=TCP)
(HOST=xxx.oraclecorp.com)
(PORT=1521))
(CONNECT_DATA=(SERVICE_NAME=xxx.oraclecorp)))';

Comments

Post Details

Added on Jun 8 2022
11 comments
6,102 views