Firebird DataBase File Data Extraction

Hello Experts,
I am way outside of my comfort zone here so i need some assistance. I have a client who's EPoS unit failed, he now needs the customer database and stock list items from the EPoS system. I have located the .fdb file but all attempts to open have failed, i suspect that it is due to the age of the file.

Any assistance in recovering the information would be greatly appreciated.

Many Thanks,
bluewaveitAsked:
Who is Participating?
 
bluewaveitConnect With a Mentor Author Commented:
I found the problem, it was because i didn't install the program as a service. I restarted the program as 'Administrator' and now i can access the file. Thank you for your help.
0
 
John TsioumprisSoftware & Systems EngineerCommented:
What do you mean fail...is it due to credential or the file is corrupted...
Given the fact that the file has .fdb extension it can't be old and should supported from Firebird 2.5+.
Have you setup a Firebird server at first...?
0
 
bluewaveitAuthor Commented:
The database/system/ePoS was installed about 11 years ago. I have downloaded and installed firebird server on my pc. I have also installed 'flameRobin' to see if that would work but i get this message

'Can't find or load FBCLIENT.DLL or GDS32.DLL

When i try and connect with iSQL with

CONNECT "X:\pathtodbfile\db.fdb";

I get this message

Statement failed, SQLSTATE = HY000
unsupported on-disk structure for file X:\pathtodbfile\db.fdb; found 11.1, support 12.0
0
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

 
John TsioumprisSoftware & Systems EngineerCommented:
it seems that you need an older version of Firebird....
For the flamerobin issue you will find the GDS32.dll inside the installation folder of Firebird...just copy it to your Windows folder system32 for 32bit OS or SYSWow64 for 64bit systems and it should be ok...
Also this utility promises to convert old Firebird databases to newer format
0
 
bluewaveitAuthor Commented:
I have installed the the converter program, selected the DB and got this error message:

15:05:00: Checking database for corruption
15:05:00: Checking NOT NULL fields for NULL values
 
15:05:01: NULL values in NOT NULL columns has been detected
  Dynamic SQL Error
SQL error code = -901
Illegal use of keyword VALUE
 
Conversion has been aborted!


Has that failed on the whole DB or just that entry?
0
 
John TsioumprisSoftware & Systems EngineerCommented:
Try to install one of older versions of Firebird...does the converter gives any info about the version...
0
 
bluewaveitAuthor Commented:
The converter picked up that the old version was 2.1, i have downloaded this and installed it. on iSQL i now get this message:

Statement failed, SQLCODE = -902
Your user name and password are not defined. Ask your database administrator to set up a Firebird login.
0
 
John TsioumprisSoftware & Systems EngineerCommented:
have you tried the default
username:SYSDBA
password:masterkey
0
 
bluewaveitAuthor Commented:
yes using 'Firebird Maestro'  and it failed but not on iSQL (i am unaware of the syntax to do this)
0
 
John TsioumprisConnect With a Mentor Software & Systems EngineerCommented:
C:\Program Files\Firebird\bin>isql↵
Use CONNECT or CREATE DATABASE to specify a database
SQL>CONNECT "C:\Program Files\Firebird\examples\employee.gdb"↵
CON>user 'SYSDBA' password 'masterkey';↵

Open in new window

0
 
John TsioumprisSoftware & Systems EngineerCommented:
if this fails you have to find the login info...
0
 
bluewaveitAuthor Commented:
Statement failed, SQLCODE = -902
cannot attach to password database


I must advise that i am running this on a different machine to where it was first installed.
0
 
John TsioumprisSoftware & Systems EngineerCommented:
Glad everything went well
0
 
bluewaveitAuthor Commented:
Searched online, following the Experts advice and discovered the answer
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.