473,399 Members | 3,401 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

open source solution for extracting data from MS Access on Linux?

Hello,

Here is what we need to do. On a Linux Apache server, we need to
write PHP or Perl scripts to pull the data directly from the Access
database and display extracted data on the web. Anybody have done that
and would like to share how?

I've looked dbmtools. But it seems to be a command line based tool.
Also it's good for transferring data from Access to other databases,
like mysql, db2, etc. I've also tested Easysoft ODBC-ODBC Bridge. It
works for Access. But it's not open source. FreeTDS/unixodbc is open
source but FreeTDS is for MS SQL server and Sybase.

Thanks in advance for any ideas.

Bing

Nov 16 '05 #1
4 2131
I'm just tossing out some ideas.

Do you have access to an ODBC driver for Jet 4.0 in Linux?
You'd be able to then use whatever standard data access tools
are provided by gcc or g++, right?

Alternately, if you can load or link ActiveX DLLs in Linux, then
you could access the data in the MDB file using the ADO object
library (which is freely available through Microsoft's MDAC 2.8
download).

As far as I know, the actual file format for the Access MDB is
proprietary, so I don't know how you'd get at the data outside
of ODBC or ADO. If anyone has found a way to hack it, though,
it'd be someone in the Linux community.

du****@gmail.com wrote:
Hello,

Here is what we need to do. On a Linux Apache server, we need to
write PHP or Perl scripts to pull the data directly from the Access
database and display extracted data on the web. Anybody have done that
and would like to share how?

I've looked dbmtools. But it seems to be a command line based tool.
Also it's good for transferring data from Access to other databases,
like mysql, db2, etc. I've also tested Easysoft ODBC-ODBC Bridge. It
works for Access. But it's not open source. FreeTDS/unixodbc is open
source but FreeTDS is for MS SQL server and Sybase.

Thanks in advance for any ideas.

Bing

Nov 17 '05 #2
On 16 Nov 2005 14:07:39 -0800, du****@gmail.com wrote:

If you can get to SQL Server, you could add the Access database as a
linked server. Just don't expect any performance :-)

-Tom.
Hello,

Here is what we need to do. On a Linux Apache server, we need to
write PHP or Perl scripts to pull the data directly from the Access
database and display extracted data on the web. Anybody have done that
and would like to share how?

I've looked dbmtools. But it seems to be a command line based tool.
Also it's good for transferring data from Access to other databases,
like mysql, db2, etc. I've also tested Easysoft ODBC-ODBC Bridge. It
works for Access. But it's not open source. FreeTDS/unixodbc is open
source but FreeTDS is for MS SQL server and Sybase.

Thanks in advance for any ideas.

Bing


Nov 17 '05 #3
Oh, yeah, linked server, that's a good idea I've never thought of.
Thanks much for the hints!

Bing

Nov 17 '05 #4
Hi Tom,

I've been trying to create a simple (I hope) PHP application to send
emails to a membership list. I have yet to successfully connect to my
database to pull the names and email addresses. I'm running XP Pro,
PHP Version 4.3.2, Access 2000. I have created an ODBC System DNS
connection to the database file I want to access, And I get this error:

Warning: SQL error: , SQL state 00000 in SQLConnect in connecttodb.php
on line 2
Whoops! Could Not Connect to ODBC Database!

Here is my code:

<?php
$odbc = odbc_connect ('DFWMembershipDB', '', '') or die('Whoops! Could
Not Connect to ODBC Database!');
?>

I'm a total novice at this, so any help you can provide would be really
appreciated.

Chad Lupkes
Seattle, Washington

Nov 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Parzival | last post by:
I have a program which works well on under Windows, which I am trying to get to work under Linux (Mandrake 9.1) It accesses a binary file with mmap. Under Windows, the file maps and reads withut...
0
by: Unigroup of New York | last post by:
Content-Type: multipart/mixed; boundary="------------C465DF38DCB38DD2AF7117E0" Lines: 327 Date: Tue, 15 Feb 2005 23:36:38 -0500 NNTP-Posting-Host: 24.46.113.251 X-Complaints-To: abuse@cv.net...
1
by: J-miami | last post by:
I am just starting to learn Perl. I had an idea that there should be free open-source Internet Cafe management software for Linux. I searched around online but couldn't find anything. The...
2
by: RSB | last post by:
Hi Every one, I am currently using Visual Studio .Net and trying to open a project from SourceSafe and once i open the project for the first time i get the following error/warning... "The...
2
by: greatbooksclassics | last post by:
Open Source DRM? What does everyone think about it? Will Open Source DRM ever catch up to MS DRM? Will DRM ever be integrated into common LAMP applications?...
115
by: TheAd | last post by:
At this moment I use MsAccess and i can build about every databound application i want. Who knows about a serious open source alternative? Because Windows will be a client platform for some time, i...
1
by: petersk | last post by:
Firstly I am an older person trying to teach myself to create a project and teach myself Access VBA programming along the way. I anticipate a number of problems I will need help with but here...
3
by: Raqueeb Hassan | last post by:
Hello, Given the idea of having voter ID card for all the citizens of Bangladesh, I was thinking of assessing few things before it actually starts. The election commission, the government agency...
6
by: Werner | last post by:
Hi, I try to read (and extract) some "self extracting" zipefiles on a Windows system. The standard module zipefile seems not to be able to handle this. False Is there a wrapper or has...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.