Jump to content
Software FX Community

Trouble connecting to External MySQL DB


Andy Moore

Recommended Posts

Hey there,

I'm trying to connect to an external MySQL database for PowerGadgets. The server is a standard LAMP setup and resides on the local network, and has a static external IP.

I've tried adding the computer name and the local IP (192.168.5.5) with no luck. The error is "Could not connect". Any suggestions on how to get this running?

Link to comment
Share on other sites

After some googling, I've setup a MySQL ODBC Driver on the windows box at the Data Provider is accessing correctly and pulling data.

In PowerGadget, if I select "SQL Datbase > OleDB" then hit the "Build" button, all the data I need is pre-populated (eg: the dropdowns have all my table names), however, upon "finishing" the wizard I get the error:

"The .Net framework data provider for OLEDB (System.data.oledb) does not support the microsoft OLE DB Provider for ODBC Drivers (MSDASQL). Use the .Net framework data provider for ODBC (system.data.odbc)."

I'm not sure how to correct this.

If I set up "SQL Database > ODBC" there is no build button; however if I cut and paste ODBC Connection Strings from the web it errors with:

"No provider specified in connection string".

 Help!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...