I am trying to connect to a remote Mysql Database using MyODBC , but it seems to fail to connect, any body has suggestions or better experience in connecting to web based MySQL Databases.
If, as you say, "It should be that easy, but when you test the connection using a push button on that same configuration form, it fails" then your problem is failing to set up a successfully working DSN at the Windows level and has nothing to do with Visual Foxpro.
You might also try posting your question on one of the many MySQL forums.
Once you get the DSN working and get a successful non-VFP test of the connection, then we can begin to help you use the connection.
To test the validity of a DSN without VFP you can create a UDL file Creating and Configuring Universal Data Link (.udl) Files
I could finally get the DSN connection to successfully connect to the remote MySQL server using the hostname, username and password.. it succeeded.
But, in VFP, creating a remote view requires the connection to connect to a database. when I use the database name in the DSN configuration or in the VFP connection builder it fails to connect the username to the database. although the entries are all correct and I tried to create different users for that database.
the connection succeeded with all the users, it fails only when you input the database name even though they are all users of that specific database.
I would very much appreciate your help coz I have an urgent need to update a live website using a VFP application.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.