Solved

Problem to connect to a firebird database

Posted on 2014-11-08
8
1,048 Views
Last Modified: 2014-11-09
I use a firebird database for one of my delphi application
I also user SQL Manager to maintain it
I need to make changes to the database layout.
I have a copy of the "production" database in my delphi directory, and it is listed in the SQL Manager localhost but when I double click on it, it does not open it, I get the error :

Unsuccessful execution caused by a system error that precludes
successful execution of subsequent statements.
Your user name and password are not defined. Ask your database administrator to set up a Firebird login.
SQL Code: -902
IB Error Number: 335544472

Well, I know the user is sysdba and password either sysdba or masterkey but none of them works.

How  can I practically "reset" the password on that database ?
0
Comment
Question by:LeTay
  • 4
  • 3
8 Comments
 
LVL 19

Expert Comment

by:NickUpson
ID: 40431059
do you have firebird installed on the PC? can you open other firebird databases on the PC?

passwords are per machine not per database
0
 

Author Comment

by:LeTay
ID: 40431130
Yes firebird is installed on my machine
I can open the same (copy) dabatase when it is located at another place (known via alias)
0
 
LVL 19

Expert Comment

by:NickUpson
ID: 40431206
the directory that does not work - is this local or mapped from elsewhere? if mapped its not supposed to work

that error often just means "cannot connect to database" - so don't get locked into username/password issue

does the firebird user (owner of the background process) have permission to read & write in the not-working directory?
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:LeTay
ID: 40431438
Everything is local on my D: drive
0
 

Author Comment

by:LeTay
ID: 40431473
Hello,
I finally found what the problem is : the password was not the one I thought !
Can I ask you this to conclude : assuming I could not remember the password, what should I have done to fix it ?
Thanks
0
 
LVL 19

Accepted Solution

by:
NickUpson earned 500 total points
ID: 40431510
you could have removed and reinstalled firebird, (or copied the security database from another installation) this would reset the sysdba password to the default (or known value)
0
 

Author Comment

by:LeTay
ID: 40431537
Thanks !
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

This article explains all about SQL Server Piecemeal Restore with examples in step by step manner.
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
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…

730 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