signal Posted February 4, 2002 Share Posted February 4, 2002 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 ] Link to comment Share on other sites More sharing options...
danjacoby Posted February 4, 2002 Share Posted February 4, 2002 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 Link to comment Share on other sites More sharing options...
signal Posted February 5, 2002 Author Share Posted February 5, 2002 Thanks. That's a good idea. At least it'll save me a little time. Link to comment Share on other sites More sharing options...
helfire Posted February 12, 2002 Share Posted February 12, 2002 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. Link to comment Share on other sites More sharing options...
simon1663 Posted February 13, 2002 Share Posted February 13, 2002 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! Link to comment Share on other sites More sharing options...
helfire Posted February 13, 2002 Share Posted February 13, 2002 Will FM 5.5 on OS X recognize unixODBC? [ February 27, 2002, 10:48 AM: Message edited by: Julian Taylor ] Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 8109 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now