LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-20-2008, 05:11 AM   #1
linker3000
LQ Newbie
 
Registered: May 2007
Posts: 9

Rep: Reputation: 0
mdbtools (or alternatives) for getting Access97 data into mysql


Morning,

I was hoping to use mdbtools to extract data from some Access databases overnight. I have yum installed the tools (on CentOS 5) and also downloaded and (eventually!) compiled the latest release from the mdbtools web site, but I either get 'buffer overflow' errors or no output from most of the tools. I have been trying to cvs checkout the latest development version but sourceforge's cvs login keeps timing out!

I have had a good Google and searched these forums and picked up some notes but no concrete advice so is anyone hereabouts using mdbtools successfully, or can anyone suggest any other tools that will dump access databases on a scheduled basis? I have done test migrations using the MySQL gui tools and that works fine, but I don't think the operation can be scripted.

On a side note, I also need to do the same for MS-SQL data - does anyone have any favourite tools for automating data extraction? Everything ultimately needs to end up in a MySQL database.

Thanks

EDIT: Managed to Checkout the CVS version at last!!! This has compiled OK but most of the mdb tools commands return no output. Any good sugegstions for debugging?

Last edited by linker3000; 06-20-2008 at 08:48 AM. Reason: New information
 
Old 06-22-2008, 08:38 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.10, Centos 7.5
Posts: 17,700

Rep: Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494
Personally I'd use Perl, using the generic front-end module DBI (http://search.cpan.org/~timb/DBI-1.605/DBI.pm see the diagram there), and the relevant backend modules eg http://search.cpan.org/~capttofu/DBD...b/DBD/mysql.pm.
See tutorials here: http://www.perlmonks.org/?node=Tutor...se-Programming, also 2nd example in post #2 here http://www.dbforums.com/showthread.php?t=1061119
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mysql data structures kpachopoulos Programming 0 12-13-2007 02:49 PM
Processing data from a 'foreign' database with mysql, or tools to pre-process data. linker3000 Linux - Software 1 08-14-2007 09:36 PM
mysql data import bijuhpd Linux - Newbie 1 03-05-2005 09:01 AM
Need alternatives for accessing data from cd's Trinity22 Linux - General 5 03-29-2004 02:59 AM
MYSQL data restore pattar Linux - Software 1 02-17-2003 09:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration