Solved

Problem to connect to a firebird database

Posted on 2014-11-08
8
962 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
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…

770 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