We help IT Professionals succeed at work.

User problem in Firebird

theGhost_k8
theGhost_k8 asked
on
Medium Priority
1,634 Views
Last Modified: 2013-12-09
Hello,
      I'm using Firebird 1.5. I am having 2 users, Sysdba and Mauleen. Mauleen is having all rights on the database tables and storedProc. I had updated the rdb$elations table and set the owner as mauleen for each item.
Then i've taken backup of the database as i'm owner of the database and then restored it back.
Now when i've tried to execute a storedproc. an error occurs as follows:

     
ISC ERROR CODE:335544352

ISC ERROR MESSAGE:
no permission for execute access to PROCEDURE FLUSHALLTABLE

STATEMENT:
TIBOInternalDataset: "<TApplication>.frmStoredProcedure.qryResults.IBOqrqryResults."


Before restoring it works fine and all storedproc executes.
After restoring even rdb$relations shows Mauleen as owner for each item, and mauleen is having allrights for each tables and storedProc(for exec too) but still i'm not able to execute the procedure.

what should be possible reasons or problem with my method?
                  thank you,
Comment
Watch Question

Nick UpsonPrincipal Operations Engineer
CERTIFIED EXPERT

Commented:
never, never, never directly update the system tables. use the grant command that's what it's for.

at this point I would extract your ddl, build a new database, pump any data across and go from there.
theGhost_k8Database Consultant
CERTIFIED EXPERT

Author

Commented:
could you please explain this:-
"at this point I would extract your ddl, build a new database, pump any data across and go from there."
in little brief please ?
theGhost_k8Database Consultant
CERTIFIED EXPERT

Author

Commented:
also, how to change the owner of database ?
Principal Operations Engineer
CERTIFIED EXPERT
Commented:
your current database is messed up, rather than try to edit the system tables again to fix it, I'm suggesting you build a new db from the faulty one

change the owner by backup by old owner, restore by new owner

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
theGhost_k8Database Consultant
CERTIFIED EXPERT

Author

Commented:
i have no OPTION !!
HOPE IN FUTURE AGAIN SOME1 POST RELATIVE INFORMATION IN MORE DETAIL.
THANK YOU
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.