Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Firebird DataBase File Data Extraction

Posted on 2016-09-29
14
Medium Priority
?
217 Views
Last Modified: 2016-10-04
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,
0
Comment
Question by:bluewaveit
  • 7
  • 7
14 Comments
 
LVL 19

Expert Comment

by:John Tsioumpris
ID: 41821479
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
 

Author Comment

by:bluewaveit
ID: 41821628
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
 
LVL 19

Expert Comment

by:John Tsioumpris
ID: 41821640
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
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 

Author Comment

by:bluewaveit
ID: 41821712
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
 
LVL 19

Expert Comment

by:John Tsioumpris
ID: 41821730
Try to install one of older versions of Firebird...does the converter gives any info about the version...
0
 

Author Comment

by:bluewaveit
ID: 41821739
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
 
LVL 19

Expert Comment

by:John Tsioumpris
ID: 41821749
have you tried the default
username:SYSDBA
password:masterkey
0
 

Author Comment

by:bluewaveit
ID: 41821752
yes using 'Firebird Maestro'  and it failed but not on iSQL (i am unaware of the syntax to do this)
0
 
LVL 19

Assisted Solution

by:John Tsioumpris
John Tsioumpris earned 2000 total points
ID: 41821755
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
 
LVL 19

Expert Comment

by:John Tsioumpris
ID: 41821757
if this fails you have to find the login info...
0
 

Author Comment

by:bluewaveit
ID: 41821770
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
 

Accepted Solution

by:
bluewaveit earned 0 total points
ID: 41821849
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
 
LVL 19

Expert Comment

by:John Tsioumpris
ID: 41821884
Glad everything went well
0
 

Author Closing Comment

by:bluewaveit
ID: 41827738
Searched online, following the Experts advice and discovered the answer
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

Your data is at risk. Probably more today that at any other time in history. There are simply more people with more access to the Web with bad intentions.
In today's business world, data is more important than ever for informing marketing campaigns. Accessing and using data, however, may not come naturally to some creative marketing professionals. Here are four tips for adapting to wield data for insi…
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…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

916 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