Solved

Problem to connect to a firebird database

Posted on 2014-11-08
8
911 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
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.

 

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Never store passwords in plain text or just their hash: it seems a no-brainier, but there are still plenty of people doing that. I present the why and how on this subject, offering my own real life solution that you can implement right away, bringin…
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…

863 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

19 Experts available now in Live!

Get 1:1 Help Now