Trail of Tears: MySQL, ODBC, & OpenOffice 1.0
Joe Barr writes "
I found a wonderful "how-to" piece called "OpenOffice.org 1.0, ODBC and MySQL," by John McCreesh. In the introduction, McCreesh writes about OpenOffice.org 1.0's "best kept secret" -- that secret being the fact that hidden away inside, completely unknown to most OpenOffice users, is a user-friendly front end for databases that is "a Microsoft Access (and more) equivalent." That may be so, but there is a very good reason why it's a secret: it's too damn hard getting OpenOffice and ODBC wired up correctly."
The Trail of Tears was the forced emigration of Native Americans from the South to Oaklahoma. It was brutal and painful, and something that Americans don't like to talk about.
Yeah lets screw open standards.
Admittely ODBC is/was gennerally improved AFAICT by microsoft, it is essentially still an X/Open standard.
It is availble on many platforms, Mac/VMS/Unix/Windows and probably others too. It is a relative striaghtforward C API for database access. Ok, native access could be quicker but I think you'd find difficulty building a thinner layer for all databse engines.
Lets be honest about this two in many cases I reckon you will find OLE DB implement on top of the ODBC drivers . Not that I've ever used OLE DB being a crossplatform developer.
Master of Peng Shui.Ancient oriental art of Penguin Arranging)
It has been completed and is ready for inclusion in the next release of OOo (1.1) - the beta of which is due out towards the end of this month.
Mr. Smoove
You get an _isql_ with unixODBC, and an _odbctest_ with iODBC (see http://www.iodbc.org/ - there is choice amongst driver-managers, and iODBC even comes with a gtk config app looking relatively similar to Windoze' ODBC Administrator, if you like that sort of thing).
~Tim
--
Rushing on down to the circle of the turn
It's probably not unknown to those who've use the StarOffice v5.x database ( Adabas = SoftwareAG ). Granted, OO doesn't have the ODBC driver for that free Adabas database but if you've got the SO v5.x CDROM, you've got the driver.
It's working fine here.
BTW, it might not be well known that the database shipped with Sun's StarOffice 5.2( Adabas ) can be run as a multi-client database if you start the server on the right port. Here's a startup script:
x_server -p 7200
sleep 1
x_start dbaseName
sleep 2
xutil -d dbaseName -u control,user-passwd restart
StarOffice and OpenOffice just need to know where the file "./lib/odbclib.so" is. IIRC
LoB
"Anyone who stands out in the middle of a road looks like roadkill to me." --Linus