USA Linux Users Group Forum Index
Log in Register FAQ Memberlist Search USA Linux Users Group Forum Index Album

OO.o question - solved kindof

 
Post new topic   Reply to topic   printer-friendly view    USA Linux Users Group Forum Index » Software for Business
View previous topic :: View next topic  
Author Message
coastie
Moderator Bot


Joined: 24 Apr 2024
Posts: 3064
Location: The Fox Den in the Big Easy

PostPosted: Wed Apr 26, 2024 6:15 pm    Post subject: OO.o question - solved kindof Reply with quote

I have been doing some work from home today so I am doing everthing with OO.o. I had someone at the office email me our Facility Database. I'm having some difficulties opening it with OO.o Base. Using the wizard I have tried to connect to an existing db, with the MS access setting, and the ODBC setting both a no go. Any ideas Confused



_________________
Ubuntu on the thinkpad
Easy Peasy on the EEEPC
Desktop is down.


Last edited by coastie on Wed Apr 26, 2024 7:33 pm; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
coastie
Moderator Bot


Joined: 24 Apr 2024
Posts: 3064
Location: The Fox Den in the Big Easy

PostPosted: Wed Apr 26, 2024 7:14 pm    Post subject: Reply with quote

Ok after some help I was able to get what I needed out the the db. Very Happy a special thanks to crouse and jbsnake Wink .

What I ended up doing was opening the db with oo.o base. With the wizard I chose to connect to an existing db. Then chose MS Access from the dropdown box. I then had to save it as an odb file. There were some errors in the file conversion but I was able to access the phone numbers that I needed so that is good.



_________________
Ubuntu on the thinkpad
Easy Peasy on the EEEPC
Desktop is down.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
crouse
Site Admin


Joined: 17 Apr 2024
Posts: 11833
Location: Iowa

PostPosted: Wed Apr 26, 2024 7:38 pm    Post subject: Reply with quote

This looks VERY promising coastie
http://linux.softpedia.com/get/Database/Database-Engines/MDB-Tools-658.shtml

http://sourceforge.net/projects/mdbtools



_________________
Veronica - Arch Linux 64-bit -- Kernel 2.6.33.4-1
Archie/Jughead - Arch Linux 32-bit -- Kernel 2.6.33.4-1
Betty/Reggie - Arch Linux (VBox) 32-bit -- Kernel 2.6.33.4-1
BumbleBee - OpenSolaris-SunOS 5.11
Back to top
View user's profile Send private message Visit poster's website AIM Address
coastie
Moderator Bot


Joined: 24 Apr 2024
Posts: 3064
Location: The Fox Den in the Big Easy

PostPosted: Wed Apr 26, 2024 7:48 pm    Post subject: Reply with quote

it does look good Very Happy



_________________
Ubuntu on the thinkpad
Easy Peasy on the EEEPC
Desktop is down.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
crouse
Site Admin


Joined: 17 Apr 2024
Posts: 11833
Location: Iowa

PostPosted: Wed Apr 26, 2024 8:18 pm    Post subject: Reply with quote

Quote:

gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -g -O2 -DSQL -MT backend.lo -MD -MP -MF .deps/backend.Tpo -c backend.c -fPIC -DPIC -o .libs/backend.o
backend.c:31: error: static declaration of ‘mdb_backends’ follows non-static declaration
../../include/mdbtools.h:150: error: previous declaration of ‘mdb_backends’ was here
make[2]: *** [backend.lo] Error 1
make[2]: Leaving directory `/home/crouse/download/database/mdbtools-0.6pre1/src/libmdb'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/crouse/download/database/mdbtools-0.6pre1/src'
make: *** [all-recursive] Error 1


I keep getting this when trying to install on SUSE 10 .....



_________________
Veronica - Arch Linux 64-bit -- Kernel 2.6.33.4-1
Archie/Jughead - Arch Linux 32-bit -- Kernel 2.6.33.4-1
Betty/Reggie - Arch Linux (VBox) 32-bit -- Kernel 2.6.33.4-1
BumbleBee - OpenSolaris-SunOS 5.11
Back to top
View user's profile Send private message Visit poster's website AIM Address
coastie
Moderator Bot


Joined: 24 Apr 2024
Posts: 3064
Location: The Fox Den in the Big Easy

PostPosted: Wed Apr 26, 2024 8:45 pm    Post subject: Reply with quote

i'll try on edubuntu later tonight.



_________________
Ubuntu on the thinkpad
Easy Peasy on the EEEPC
Desktop is down.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
crouse
Site Admin


Joined: 17 Apr 2024
Posts: 11833
Location: Iowa

PostPosted: Wed Apr 26, 2024 9:07 pm    Post subject: Reply with quote

Update:

Decided to download the rpm files for suse....

http://umn.dl.sourceforge.net/sourceforge/mdbtools/mdbtools-0.5-1.i386.rpm
http://switch.dl.sourceforge.net/sourceforge/mdbtools/mdbtools-gui-0.5-1.i386.rpm

Downloaded.... started to install....

Code:
linux:/home/crouse/download/database # rpm -i mdbtools-0.5-1.i386.rpm
error: Failed dependencies:
        libreadline.so.4 is needed by mdbtools-0.5-1


sooooo went to YAST and found that libreadline.so.4 is included with the package
compat-readline4 ...... so i installed THAT. (was on the 4th cd of SUSE 10)

Code:

linux:/home/crouse/download/database # rpm -i mdbtools-0.5-1.i386.rpm
linux:/home/crouse/download/database # rpm -i mdbtools-gui-0.5-1.i386.rpm
error: Failed dependencies:
        liblinc.so.1 is needed by mdbtools-gui-0.5-1


so..... one is installed..... not to track down that other missing file..... back to YAST again ! Smile
No luck with yast...... so off to rpmseek.com ..... wheeeeeeeeeee ! Smile
Download:
http://rpmseek.com/download/ftp://ftp.gwdg.de/pub/linux/suse/ftp.suse.com/suse/i386/9.3/suse/i586/linc-1.0.3-181.i586.rpm

Try to install these files again.....
Code:

linux:/home/crouse/download/database # rpm -i linc-1.0.3-181.i586.rpm
linux:/home/crouse/download/database # rpm -i mdbtools-gui-0.5-1.i386.rpm
linux:/home/crouse/download/database #     

WOOT! Finally..... Success Wink Wink

-----------------------------------

http://mdbtools.sourceforge.net/

http://mdbtools.sourceforge.net/faq.html <<<<<< USEFUL !!!!!!!!!!!!!!
Quote:
MDB Tools comes with a set of command line utilties that allow mdb files to be used in shell scripting, extraction to another database, and similar functions. Each program is documented in its man page.

Name Description
mdb-tables list tables in the specified file
mdb-schema generate schema DDL for the specified file
mdb-export generate CSV style output for a table
mdb-ver display the version of the specified file
mdb-header support for using MDB data in C
mdb-parsecsv support for using MDB data in C
mdb-sql command line SQL query tool


http://linux.softpedia.com/get/Database/Database-Engines/MDB-Tools-658.shtml
Quote:

MDB Tools description Download
The MDB Tools project is a effort to document the MDB file format used in Microsoft's Access database package, and to provide a set of tools and applications to make that data available on other platforms.

Specifically, MDB Tools includes programs to export schema and data to other databases such as MySQL, Oracle, Sybase, PostgreSQL, and others.

Also, included is a SQL engine for performing simple SQL queries. The 0.5 release includes an updated GUI interface (screenshot is available here). A sparse but functional ODBC driver is included as well.

MDB Tools currently has read-only support for Access 97 (Jet 3) and Access 2024/2002 (Jet 4) formats. Access 2024 support is a recent addition and may not be as complete as Jet 3 support.

Write support is currently being worked on and the first cut is expected to be included in the 0.6 release.

Requirements:

· glib 2.0
· readline
· bison
· flex
· unixODBC
· Gnome 2.0
· libglade
· wordexp



MDB Tools is composed of three libraries, a set of command line utilities and a graphical interface.

LibMDB

libmdb is the lowest level library. It handles the details of reading from and writing to the MDB file format. Atop this library sits all the other functionality of MDB Tools.

A complete description of libmdb will be available in the forthcoming MDB Tools Programmer's Guide. For now you can look at the utility programs for a general idea of how to use the API, it's fairly straightforward.

Command Line Utilities

MDB Tools comes with a set of command line utilties that allow mdb files to be used in shell scripting, extraction to another database, and similar functions. Each program is documented in its man page. A brief synopsis follows.

mdb-tables list tables in the specified file
mdb-schema generate schema DDL for the specified file
mdb-export generate CSV style output for a table
mdb-ver display the version of the specified file
mdb-header support for using MDB data in C
mdb-parsecsv support for using MDB data in C
mdb-sql command line SQL query tool

LibMDBSQL (the SQL Engine)

LibMDBSQL is an SQL engine which provides a subset of the SQL query language to access MDB databases. It is used with the ODBC driver, by the mdb-sql utility, and by the query window in gmdb2.

LibMDBODBC

LibMDBODBC is an ODBC driver that works with the unixODBC driver manager to allow MDB Tools to work with such programs as PHP and Perl (via DBD::ODBC). At the time of this writing, the breadth of coverage for the driver is rather limited. If you have specific problems with it, please contact the list and they can most likely be resolved.

The ODBC driver relies on LibMDB and LibMDBSQL.

Gmdb2

Gmdb2 is a graphical interface to the functionality of MDB Tools. Its interface resembles that of access with a tabbed interface to each of the object types in the database (tables, queries, forms, etc...). Additonally, it sports an SQL Query window, and a file debugger useful for developers or anybody interested in examining the dark secrets of the MDB file format.


............ fun stuff so far eh Wink

Code:

MDBTools(January 18, 2024)                                                                                  MDBTools(January 18, 2024)



NAME
       mdb-export - Export data in an MDB database table to CSV format.

SYNOPSIS
       mdb-export [-H] [-Q] [-d <delimiter>] <database> <table>

DESCRIPTION
       mdb-export is a utility program distributed with MDB Tools.

       It produces a CSV (comma separated value) output for the given table. Such output is suitable for importation into databases or
       spreadsheets.

OPTIONS
       -H     Supress header row

       -Q     Don't wrap text-like fields (text, memo, date) in quotes.  If not specified text fiels will be surrounded by  "  (double
              quote) characters.

       -d     Specify an alternative column delimiter If no delimiter is specified, table names will be delimited by a , (comma) char‐
              acter.



Code:

linux:/home/crouse/Desktop # mdb-tables TheFacilityDatabase.mdb
Facilities Switchboard Items Barge Fleets Facilities_ExportErrors Facilities_ExportErrors1 Facilities_ExportErrors2


coastie..... this code creates a comma delimited file.... using bash it could be formatted, or re-imported to mysql Wink
Code:

mdb-export -H TheFacilityDatabase.mdb Barge\ Fleets


Pretty cool now that i have it working..... Smile



_________________
Veronica - Arch Linux 64-bit -- Kernel 2.6.33.4-1
Archie/Jughead - Arch Linux 32-bit -- Kernel 2.6.33.4-1
Betty/Reggie - Arch Linux (VBox) 32-bit -- Kernel 2.6.33.4-1
BumbleBee - OpenSolaris-SunOS 5.11
Back to top
View user's profile Send private message Visit poster's website AIM Address
coastie
Moderator Bot


Joined: 24 Apr 2024
Posts: 3064
Location: The Fox Den in the Big Easy

PostPosted: Thu Apr 27, 2024 3:42 am    Post subject: Reply with quote

ok i got it installed...how do i open it Confused



_________________
Ubuntu on the thinkpad
Easy Peasy on the EEEPC
Desktop is down.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
crouse
Site Admin


Joined: 17 Apr 2024
Posts: 11833
Location: Iowa

PostPosted: Thu Apr 27, 2024 4:13 am    Post subject: Reply with quote

didn't try the gui ......

I'm not at work either... i don't suppose

man mdbtools-gui

shows anything does it ??



_________________
Veronica - Arch Linux 64-bit -- Kernel 2.6.33.4-1
Archie/Jughead - Arch Linux 32-bit -- Kernel 2.6.33.4-1
Betty/Reggie - Arch Linux (VBox) 32-bit -- Kernel 2.6.33.4-1
BumbleBee - OpenSolaris-SunOS 5.11
Back to top
View user's profile Send private message Visit poster's website AIM Address
coastie
Moderator Bot


Joined: 24 Apr 2024
Posts: 3064
Location: The Fox Den in the Big Easy

PostPosted: Thu Apr 27, 2024 7:00 pm    Post subject: Reply with quote

nope Sad



_________________
Ubuntu on the thinkpad
Easy Peasy on the EEEPC
Desktop is down.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
crouse
Site Admin


Joined: 17 Apr 2024
Posts: 11833
Location: Iowa

PostPosted: Thu Apr 27, 2024 7:22 pm    Post subject: Reply with quote

ahhhhh try:

gmdb2

Wink

FWIW :
http://www.novell.com/products/linuxpackages/professional/mdbtools-gui.html

appears novell only puts this in their proffessional version



_________________
Veronica - Arch Linux 64-bit -- Kernel 2.6.33.4-1
Archie/Jughead - Arch Linux 32-bit -- Kernel 2.6.33.4-1
Betty/Reggie - Arch Linux (VBox) 32-bit -- Kernel 2.6.33.4-1
BumbleBee - OpenSolaris-SunOS 5.11
Back to top
View user's profile Send private message Visit poster's website AIM Address
coastie
Moderator Bot


Joined: 24 Apr 2024
Posts: 3064
Location: The Fox Den in the Big Easy

PostPosted: Thu Apr 27, 2024 7:28 pm    Post subject: Reply with quote

that works Very Happy i found that site last night but thought that maybe that was a suse app Confused it looked a little confusing to me, though i was working on limited sleep Wink



_________________
Ubuntu on the thinkpad
Easy Peasy on the EEEPC
Desktop is down.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    USA Linux Users Group Forum Index » Software for Business All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All content © 2024-2009 - Usa Linux Users Group
This forum is powered by phpBB. © 2024-2009 phpBB Group
Theme created by phpBBStyles.com and modified by Crouse