Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Hi I have a table in my schema to be accessed from a user from Another Oracle databse..

I am trying with

GRANT all on a.table_name to test@o11db;

here a is my Schema and Test is another schema in o11db. But I am not able to get it right.

share|improve this question
up vote 5 down vote accepted

Tahiti about Authorization for Accessing Remote Schema Objects: To access a remote schema object, you must be granted access to the remote object in the remote database.

That means you need to grant the privileges locally (to the database on which they are) to the user as whom a user connect via the database link.

So, for example, if the database link was created like so

create database link DB_LINK 
connect to TESTUSER 
identified by PASSTHEWORD
using ...

then you have to

grant all on a.tablename to TESTUSER;
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.