Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Filemaker to MySQL schema

Featured Replies

I need to recreatea database done in FM in MySQL. Any way I can export the structure so I don't have retype all the field names and such.

[ February 04, 2002, 10:50 AM: Message edited by: signal ]

Don't know much about SQl, but you may have a couple of options:

DBF format is tab-delimited, with the first line being the fieldnames.

MERGE format is the same, but comma-delimited, so the data is enclosed in quotation marks to avoid confusion when fields contain commas in them.

HTH,

Dan

  • Author

Thanks.

That's a good idea. At least it'll save me a little time.

Best way to export the field structure I found was to create a calculation field along the lines of the MySQL 'create table' syntax. Using it this way you can check for the maximum lengths of fields in Filemaker and thus you know how long to specify any VARCHAR fields for the MySQL database. You can then just copy the calculation and paste it into a MySQL query in PHPMyAdmin etc., or upload a text file of the calculation.

This is sort of universal solution I made few months ago.

FM Developper came with JDBC driver example which you can pull out the database structure using web campinion. I just reused it with MySQL JDBC driver to recreate same DB in MySQL including index options!

Unfortunately i can't give you source code because my company owns it. But if you know java - this is almost next to nothing.

Java kicks arse!

Will FM 5.5 on OS X recognize unixODBC?

[ February 27, 2002, 10:48 AM: Message edited by: Julian Taylor ]

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.