Solved

User problem in Firebird

Posted on 2006-10-26
6
1,524 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,
0
Comment
Question by:theGhost_k8
  • 3
  • 2
6 Comments
 
LVL 19

Expert Comment

by:NickUpson
ID: 17813760
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
 
LVL 21

Author Comment

by:theGhost_k8
ID: 17817127
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
 
LVL 21

Author Comment

by:theGhost_k8
ID: 17817139
also, how to change the owner of database ?
0
 
LVL 19

Accepted Solution

by:
NickUpson earned 500 total points
ID: 17817815
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
 
LVL 21

Author Comment

by:theGhost_k8
ID: 18164179
i have no OPTION !!
HOPE IN FUTURE AGAIN SOME1 POST RELATIVE INFORMATION IN MORE DETAIL.
THANK YOU
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
iSeries DB2 SQL - Query Missing Value 10 67
How to SQL Trace a SPECIFIC query 24 60
append to an ms access field 6 26
SSRS troubles 4 23
I guess that all of us know that caching the data usually increase the performance, but I worried if all of us are aware about the risk that caching the data provides and how to minimize this.  That’s the reason why I decided to write this short art…
This article describes some very basic things about SQL Server filegroups.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now