Has anyone worked out trying to lookup data in Laserfiche Forms to MySQL data using the linked server set up in Microsoft SQL?
There are a few similar previous posts on this topic from a couple of years ago, but there is no definitive answer on how to do this.
I am new to SQL, so will try and explain what I have so far achieved. I have been googling for days trying to get this working, and feel that I am close.
1. Set up a user lfforms (PHPMyAdmin) in MySQL. Installed and configured the MySQL ODBC driver that tested successfully (see attached).
2. Modified the Server Objects / Linked Servers / Providers / MSDASQL properties (see attached)
3. In MS SQL Server Management Studio set up a linked server (following various different instructions on the net).
4. Set the new Linked Server properties (attached).
5. I can view the database and all the tables as well as query a simple table (attached).
6. In the LF Forms Administration Data Sources page, I am unable to set up a New Data Source to Microsoft SQL (using the MS SQL account) . The error I am receiving is "Cannot open database "data base name" requested by the login. The login failed".
The error log on the SQL Server reavealed:
"2016-11-03 10:37:28.84 Logon Error: 18456, Severity: 14, State: 38.
2016-11-03 10:37:28.84 Logon Login failed for user 'sa'. Reason: Failed to open the explicitly specified database 'catsfiscal'. [CLIENT: ip address of the SQL server is displayed here]"
I think there is something I am missing between Steps 5 & 6. Posts on the web all appear to talk about Stored Procedures, then it all goes over my head. If any one can please provide any advice or examples on how successfully have this working, it would be greatly appreciated.
cheers