From replies to other tickets, it seems the next version will support multiple SQL data sources as well as MSSQL. This is great, because we recently purchased the product, set up a number of tables in the default database, and then realised that there can only be one mySQL connection!
We've installed v2.3 and see that it includes MSSQL support.
However, what will happen to all our existing tables (which are currently stored in the local WP mysql db) after turning on the option to "Use separate connection" (see attached screenshot)?
Do we have to set up a separate connection to the local WP mysql db?
How do we configure different data connections per existing table?
I had to manually edit the config/config.inc.php file to "activate" the sqlsrv driver (which was installed and working) instead of dblib (which I've tried to install but isn't working well on Ubuntu):
From replies to other tickets, it seems the next version will support multiple SQL data sources as well as MSSQL. This is great, because we recently purchased the product, set up a number of tables in the default database, and then realised that there can only be one mySQL connection!
Do you have a rough idea of a release date?
Hi schohan,
Thank you for your purchase.
I can't tell you exactly when it will be, because of final testing and integration with core of plugin. We will try to be as soon as possible.
Best regards.
Kind Regards,
Isidora Markovic
wpDataTables: FAQ | Facebook | Twitter | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Amelia demo sites | Docs
You can try our wpDataTables add-ons before purchase on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables
Hi Milan,
We've installed v2.3 and see that it includes MSSQL support.
However, what will happen to all our existing tables (which are currently stored in the local WP mysql db) after turning on the option to "Use separate connection" (see attached screenshot)?
Do we have to set up a separate connection to the local WP mysql db?
How do we configure different data connections per existing table?
Thanks
Hi schohan,
Milan is currently on a vacation so I will help you out.
The tables that you created are already stored in the database, so other connection will not affect the old tables.
Best regards.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
So I've had a go at configuring a separate DB connection to an MSSQL database, but the plug-in will not connect.
The error message is "wpDataTables could not connect to mssql server. mssql said: Failed to get DB handle: could not find driver"
Did you implement MSSQL connection using the PDO_DBLIB driver? http://www.php.net/manual/en/ref.pdo-dblib.php
Because I am able to connect to the MSSQL server using sqlsrv_connect.
Hi schohan,
When this error happens it refers that some of the extensions are missing, you have to install the extension php-mssql or odbc drivers.
So you will actually need driver on your hosting machine.
Best regards.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
I had to manually edit the config/config.inc.php file to "activate" the sqlsrv driver (which was installed and working) instead of dblib (which I've tried to install but isn't working well on Ubuntu):
So now I'm finally able to add the custom connection!
Unfortunately, I can't get any SQL queries to work. I just get an error message: "No data fetched!"
I've worked out that Limit Rules are adding unrecognised elements to the MSSQL query:
... OFFSET 0 ROWS FETCH NEXT 10 ROWS ONLY
For now, I've got it working by commenting out:
(in class.wpdatatables.php)
Will keep exploring a better fix.
Hi schohan,
I am glad that you found a solution.
Best regards.
Kind Regards,
Isidora Markovic
wpDataTables: FAQ | Facebook | Twitter | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Amelia demo sites | Docs
You can try our wpDataTables add-ons before purchase on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables