Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
67 views

I have a regression test for a PostgreSQL database that checks to make sure a particular user cannot self-assign additional privileges to a particular schema. I do this by logging in as the user "...
Erik Knowles's user avatar
  • 1,015
0 votes
0 answers
43 views

I'm using utPLSQL to perform unit testing in Oracle. Here are all the privileges I granted to the user in the utPLSQL schema: GRANT EXECUTE ON DBMS_LOCK TO utester; GRANT CREATE SESSION TO utester; ...
AnhCao's user avatar
  • 1
0 votes
1 answer
72 views

I have created the following view in my database, my schema CREATE VIEW [OMEGACA].[V_SYS_MANAGE_ACC] AS SELECT name, object_id, parent_class, parent_class_desc, parent_id, ...
altink's user avatar
  • 375
0 votes
1 answer
52 views

I have a problem with an Oracle stored procedure that dynamically creates some materialized views. The procedure first drops the materialized views if there are any with the same name of the ones that ...
ennezetaqu's user avatar
1 vote
1 answer
378 views

I'm getting "ORA-27486: Insufficient privileges" error. What grants am I missing here? I'm executing an insert script using DBMS_PARALLEL_EXECUTE and I'm getting getting this error in ...
Ranjan's user avatar
  • 13
1 vote
0 answers
297 views

Postgres 16 has user ingmar which is marked as superuser and has create role rights: CREATE ROLE ingmar WITH LOGIN SUPERUSER INHERIT CREATEDB CREATEROLE NOREPLICATION BYPASSRLS ...
Andrus's user avatar
  • 28.2k
0 votes
1 answer
335 views

I tried to create the quartz table with a user that has privilege as below. Privileges: [Select, Insert, Update, Delete, Create, Drop, File, Index, Alter, Show databases, Create temporary tables, Lock ...
Jimmy Chi Kin Chau's user avatar
0 votes
1 answer
77 views

In my oracle 23ai instance, as ADMIN user I created this user: CREATE USER IF NOT EXISTS USER000 IDENTIFIED BY MyHardP4ssword'; Then I granted him some privileges: GRANT RESOURCE, CONNECT, CREATE ...
Lev's user avatar
  • 843
0 votes
0 answers
55 views

I'm currently in the process of migrating a database, and dropping several schemas in the move. The schemas I'm excluding have grants on some of the schemas that are included. Like grant update on ...
Jamie's user avatar
  • 266
2 votes
1 answer
151 views

I am using FireDAC to access a MySQL database from within Delphi. When logging in into the database I give in the database user name, which is defined within MySQL and has certain access right. How ...
Peter van Schagen's user avatar
0 votes
1 answer
274 views

I'm looking for a solution where a user's only permission it to execute a procedure. In my example below, that procedure is lowlevel.ZipFile (Main Procedure). The problem is that the procedure itself ...
Soerman's user avatar
  • 304
0 votes
1 answer
216 views

I need to grant all users with execution permissions to execute myprocedure I'm using this: grant execute on procedure myprocedure to '*'@'%%'; And I got this: SQL Error [1410] [42000]: You are not ...
Lev's user avatar
  • 843
0 votes
1 answer
2k views

I am getting the following error on postgresql 12: ERROR: permission denied for schema public even though I am logged in as postgres (who is superuser), and I have granted all on the schema, and on ...
Bart Friederichs's user avatar
2 votes
1 answer
1k views

I have user 'administrator' with CREATEROLE privileges. I create new user like this: CREATE USER test_user; And then i grant privileges to the new user: GRANT administrator TO test_user; When i'm ...
Paincake-'s user avatar
2 votes
1 answer
3k views

GRANT APPLICATION_PASSWORD_ADMIN,BACKUP_ADMIN,FLUSH_OPTIMIZER_COSTS,FLUSH_STATUS,FLUSH_TABLES,FLUSH_USER_RESOURCES, INNODB_REDO_LOG_ARCHIVE,PASSWORDLESS_USER_ADMIN,SHOW_ROUTINE I want to grant these ...
Luke J's user avatar
  • 23
1 vote
0 answers
330 views

I want to restrict the access rights of different users through the standard SQL permission control that comes with Hive, but I don't know that if you can batch authorize tables under a certain ...
cocdkl's user avatar
  • 11
0 votes
1 answer
190 views

In MySQL database, If a DBA grant select to a user1 as well as with grant option, then this user1 grant select access to user 2, can the DBA revoke user2 but not affect user 1 permission? I tried ...
Steve Timb's user avatar
0 votes
1 answer
255 views

I see a lot of GRANT and DENY records in table sys.database_permissions for a specific user. How can I delete/clear all these entries? I need to clear to run a script that will do the appropriate ...
igorjrr's user avatar
  • 912
1 vote
1 answer
491 views

I'm executing the following sql Alter USER test_user2 GRANT CONNECT THROUGH test_user1 ROLE myTestRole1; in Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 database and running in to the ...
mounish's user avatar
  • 13
0 votes
1 answer
150 views

I want to create users with different priviledges for example read and write and admin for just a database. I create users with grants but when I use \du it doesn't show me anything that I can use to ...
Ali Rezvani's user avatar
0 votes
0 answers
35 views

I have script to create user and grant all privileges for table in postgres create user dev_api with encrypted password 'xxx'; grant all privileges on database dev to dev_api; ALTER USER dev_api ...
lacaci3709's user avatar
1 vote
1 answer
682 views

Having run a grant command in an Oracle SQL script, is there any way to tell if it actually changed anything. Like an equivalent of SQL%ROWCOUNT or similar? I am writing an ansible module which will ...
Adam's user avatar
  • 6,812
0 votes
1 answer
46 views

I have two procedures one defines and uses a CURSOR with table from another schema and it gives me an error of insufficient privileges; the other one, creates a table with a dynamic SQL, referencing ...
Marcello Manfredini's user avatar
0 votes
0 answers
428 views

I'm looking to GRANT all sorts of CREATE statements on specific schemas in my DB for specific members of a role; Here's my current setup, I have: Schema A Schema B Role A Role B SQL Login A SQL ...
djohnjohn's user avatar
1 vote
0 answers
123 views

how can I use the root command to grant permission to "media projection" or to another: "screen capture/screenshot"? maybe it's some kind of "activity" you need to run? I ...
007wan's user avatar
  • 11

1
2 3 4 5
15