Solved

Problem to connect to a firebird database

Posted on 2014-11-08
8
996 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
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 

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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
Creating and Managing Databases with phpMyAdmin in cPanel.
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…

839 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