• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1616
  • Last Modified:

Problem to connect to a firebird database

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
LeTay
Asked:
LeTay
  • 4
  • 3
1 Solution
 
NickUpsonSenior Network EngineerCommented:
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
 
LeTayAuthor Commented:
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
 
NickUpsonSenior Network EngineerCommented:
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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LeTayAuthor Commented:
Everything is local on my D: drive
0
 
LeTayAuthor Commented:
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
 
NickUpsonSenior Network EngineerCommented:
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
 
LeTayAuthor Commented:
Thanks !
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now