User problem in Firebird

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,
LVL 22
theGhost_k8Database ConsultantAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Nick UpsonConnect With a Mentor Principal Operations EngineerCommented:
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
0
 
Nick UpsonPrincipal Operations EngineerCommented:
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.
0
 
theGhost_k8Database ConsultantAuthor 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 ?
0
 
theGhost_k8Database ConsultantAuthor Commented:
also, how to change the owner of database ?
0
 
theGhost_k8Database ConsultantAuthor Commented:
i have no OPTION !!
HOPE IN FUTURE AGAIN SOME1 POST RELATIVE INFORMATION IN MORE DETAIL.
THANK YOU
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.