Jump to content
Sign in to follow this  

FM6 and ODBC to MySQL

Recommended Posts

GeoSteven    0

This is hurting my head trying to remember this far back. I'm trying to put together a test platform for an FM6 application. The current production platform pulls data from a MySQL database (that resides on the same physical server with FM6). The client wants to have the MySQL hosted offsite so I need to test pulling the data while MySQL is installed in a different city/state. It should work but while trying to define the host in the "Import Records" script step I can't get the host to present the tables.


I have placed a copy of the entire FM6 project on a separate laptop with FM6ProDev installed on it. On that same PC I have defined a DSN for the new MySQL installation in the ODBC manager and successfully tested the connection. I can step through the script with "Perform without dialog" unchecked in the "Import Records" step and that works fine. When I'm prompted to select data source the DSN I created is there. When I select it I'm prompted for a user name and password which I enter (I've also made sure that I check "Save User Name and Password"). When I click OK I can see the new connection at the MySQL server and I'm able to complete the remainder of the import steps as expected.  


However when I go back to the script in the script editor it still has the old (production) DSN in the script step. If I attempt to define the file and click on the "Hosts" button I cannot for the life of me get the Hosts dialog to present the database. I've clicked "Specify Host" and tried typing in the name of the server (MySQL.companyname.com), the DSN and even "DSN:<DSN name here>". In every attempt the "Open" button continues to be greyed out. I suspect that it has something to do with having to log in the database but I thought that was why I created the DSN to begin with. When I try the "MySQL.companyname.com" FM goes into hourglass mode for about 10 seconds but I never see an attempt on the MySQL server to connect and then I'm returned right back to the same dialog.


What am I missing?


Any help will be appreciated. - Steve

Share this post

Link to post
Share on other sites
Lee Smith    144

Hi Steve, and welcome to the forum,


I move your topic from "FileMaker Legacy fp3 and fp5" to "External Data Sources”. because the General Topic Area is or discussion of the tools, functions and features that were released with that version of FileMaker and not for asking how-to questions.


If you have any questions about this action, please contact me by Private Message

Share this post

Link to post
Share on other sites
Wim Decorte    446

In your script step, after you click on "File", change the "files of type" to "ODBC source".  That will bring up a list of your DSNs

Share this post

Link to post
Share on other sites
GeoSteven    0

Thank you Lee for getting me to the right place. And thank you Wim for the solution. Works like a charm when you know what to do!! :<)

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Similar Content

    • By Tumma K
      Hello, All!

      I am an aspiring developer for Filemaker. The company I work with is stuck in the past working off of Filemaker Pro 4.1

      I was given the task of bringing us up to Filemaker Pro/Server 13. So far my conversion prototypes are successful but we recently had a layout issue that can only be fixed in versions 3-6 (as the file is an .fp3) I work off of a macbook while our network is all Windows 7. In order for me to repair the layouts without tampering our active database, I decided the best option is to repair a copy of our solutions off the network. Unfortunately, when I go to download the trial version of Filemaker Pro 6 off of the respected website, the file is corrupt! I've tried multiple times, with different extraction apps and in different directories.

      My question is;

      Does anyone know a place where I could obtain version 6 (or better yet, 4.0) for an OSX computer? I've looked everywhere!
      Thank you for your time,
      Tumma K.
    • By MrEddByrnes
      I'm hoping my question can have a happy ending. In the mid-90's, I purchased Filemaker 3. When Filemaker 5.5 Pro was released, I bought the update CD, which requires the user to either have FM 3 installed or to have the installation CD for FM 3. I've used it all these years, most recently with Windows XP Pro, and it has worked just fine. The databases I began with were long ago converted to FM Pro 5.5 databases.
      I'm still using FM Pro 5.5 on a laptop with WinXP Pro, but in 2013, I purchased a PC with Windows 8. I haven't been able to install FM 3 on it, therefore can't install FM Pro 5.5. I am retired and rarely use Filemaker, but I have a few Filemaker databases I'd like to add to my Win 8 machine. I don't feel it's worth upgrading FM for the sake of using a couple of databases.
      Has anyone else run into this situation and/or have a (possible) solution? Is there perhaps any other software that can read FM 5.5 databases? Thanks in advance for your help.
    • By bmill
      I am using a custom filemaker solution for medical office billing written with fp5 running on a mac with snow leopard. In addition, I have a patient management db (which I wrote) that is linked through pt. ID number to the billing program allowing transfer of some demographic information (name, DOB, etc).
      Other than being limited by hardware restrictions, the billing program serves our needs for now and upgrading to fp12 will take some time (and money).  In the meantime, I am upgrading my pt. management program to fp13 and would like to move new patient demographic information from the billing program ( fp5 running on snow leopard through Parallels) and the new pt management program ( fp13 running on OS X 10.9) on the same mac.   
      Ideally, demographic information would be entered once into fp5 and then a scipt would make the data available for fp13.
      Any ideas on how to make this work?
    • By randyinla
      Hi, can anyone tell me why my on-line database might have stopped allowing me to delete records?  All of my access privileges and passwords are correct.
    • By randyinla
      Hi, I still use filemaker 5.5 and am very happy with it and don't want to upgrade.  Does anyone still host filemaker 5.5?  Thanks!

Important Information

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