Re: Converting from FM 9 to MySQL and keep both
- From: Chris Brown <cbrown@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 25 Dec 2007 08:35:28 +1030
Diego B wrote:
Hi All,
Here it is the starting point: Clinical research DB in FM 9 adv and FM
server 9 adv both on Windows platform.
The database has 10 tables, ~ 600 variables and ~ 1000 records.
I would like to convert the entire database to MySQL for a couple of
reasons:
1) Learning more about SQL
2) Being able to construct more complex queries
3) bring the Database on a *nix/LAMP system
I have read a lot of treads, many people actually ask how to do that
but there are only few replies.
One of the most common is:
1) Build another DB in MySQL, corrispondent to the FM one
2) Export all the records from FM in .cvs
3) Import in MySQL (usually with the help of PHPmyAdmin)
in alternatively someones used FmPro Migrator.
I tried to look at the Migrator but it sounds quite complex (I have to
use also perl scripts) so I would prefer a more straightforward way.
Beside this, I would like to let the two databases talk so that MySQL
is updated every let us say 20 minutes from FM in a sort of automatic
way.
I think that this can be done with ODBC and I installed successfully
ODBC drivers for FM 9, but now I do not know exactly how to proceed.
Any help would be greatly appreciated !
Happy holidays : )
Diego
mantra: FM is not meant to be a front end for MySQL
trap1: if you want server to execute anything in the way of scripts, make sure EVERY script step is web compatible. Read the server help.
trap2. be aware that data shared between FM and SQL is not 'live' , what you see is not necessarily what you may have. Reload in MySQL is usually needed to force updates.
You have 600 variables; how many fields?
An alternate to export via csv, is just to script across data to MySQL, loop through the ESS shadow table records, pushing the data to a related FM TOC. How pratical this is will depend on how many fields you have.
Suggestion; build yourself a test db pair to explore the basics involved in what you want to do
Suggestion; avoid doing anything remote; FM downloads for every sort etc, and can be very slow to execute what you might expect to be immediate.
.
- Follow-Ups:
- Re: Converting from FM 9 to MySQL and keep both
- From: Diego B
- Re: Converting from FM 9 to MySQL and keep both
- References:
- Converting from FM 9 to MySQL and keep both
- From: Diego B
- Converting from FM 9 to MySQL and keep both
- Prev by Date: Converting from FM 9 to MySQL and keep both
- Next by Date: Re: Win Vista to Mac Server VNC question
- Previous by thread: Converting from FM 9 to MySQL and keep both
- Next by thread: Re: Converting from FM 9 to MySQL and keep both
- Index(es):
Relevant Pages
|
|