Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MySQL Connect Problem
Message
 
 
To
24/11/2014 10:29:20
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01611335
Message ID:
01611361
Views:
75
This message has been marked as the solution to the initial question of the thread.
>>
>> *-- Connect to  Server
>>  gnConnHandle = SQLCONNECT(gc_sqlconnect, gc_sqluser,gc_sqlpasswd)
>>
>>IF gnConnHandle > 0
>>    * you are connected
>>ELSE
>>      
>>   * you are not connected
>> ENDIF
>>
>>
>>
>
>Thanks Bill, I did try that. I was hoping you had a clever alternative :) Very weird this problem. Seems to me that VFP cannot find the right driver even though I have tried every variation I can think of for the connection string. I am wondering if its a 32bit/64bit thing but before installing new stuff on the server I thought it best to get some feedback.

Are you running 32 bit version of ODBC to create the DSN? You need to use 32 bit version to create DSN. If you get that 32 bit version to work, then you should specify that DSN in the connection string and it should work.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform