简体   繁体   中英

Privileges Error - CREATE DATABASE LINK Oracle

I am trying to create a database with to Oracle Database. I used the Oracle Documentation ( https://docs.oracle.com/cd/B19306_01/server.102/b14200/statements_5005.htm ) to write the below code to initiate the CREATE DATABASE LINK command, but am running into an issue. When I run this code (filling in username and password, of course), I am thrown an ORA-01031: insufficient privileges error.

Here is my code:

CREATE DATABASE LINK ITEMS
CONNECT TO username 
IDENTIFIED BY password
USING 'ITEMS'

Is there an issue with my code, or is it truly a permissions-related issue? How do I tackle this? I haven't used this command before, so I am wondering what needs to be accomplished.

Thank you!

您是否尝试将要创建的“创建数据库链接”系统特权授予您的用户帐户?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM