I am attempting to connect to an external MSSQL server using the plugin but I am getting the following error:
wpDataTables could not connect to mssql server. mssql said: There was a problem with your SQL connection - SQLSTATE[IM002] SQLDriverConnect: 0 [unixODBC][Driver Manager]Data source name not found, and no default driver specified
The server is hosted on Linux with the following PHP (v7.2) extensions enabled via cPanel:
Well, all those drivers are required by databases, not by our plugin. You cannot connect to a database without a driver that enables access to it. For example, PDO_DBLIB driver is not available anymore on Windows with PHP 5.3 or later, so you need to use SqlSrv, an alternative driver for MS SQL that is available from Microsoft.
If it is not possible to use SqlSrv, you can use the PDO_ODBC driver to connect to Microsoft SQL Server.
They all depend on your server, not our configuration. For the plugin to be able to connect to a separate database connection, your server needs to have the proper drivers to enable that connection.
I'll check with our team and see if we can add a list of possible drivers that need to be installed in our documentation.
Hi,
I am attempting to connect to an external MSSQL server using the plugin but I am getting the following error:
wpDataTables could not connect to mssql server. mssql said: There was a problem with your SQL connection - SQLSTATE[IM002] SQLDriverConnect: 0 [unixODBC][Driver Manager]Data source name not found, and no default driver specified
The server is hosted on Linux with the following PHP (v7.2) extensions enabled via cPanel:
pdo_sqlsrv, pdo_odbc, pdo, odbc
Any help would be really useful thank you.
Hello Elliot
Can you please try adding these drivers as well? dblib, mysql, pgsql and sqlite?
Also, when adding the separate connection, try choosing different drivers in the bottom left of the page.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
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
Where exactly do you get those drivers?
They are added on your server.
Depending on the server there are a lot of different repositories for drivers.
You need to reach out to your hosting provider and ask them to install the drivers on the server.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
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
This is not a good answer.
The plugin shouldn't even show unavailable options. aka no drivers or should make them as driver needed.
Your KB site should list all or common drivers that most hosting companies use.
Well, all those drivers are required by databases, not by our plugin. You cannot connect to a database without a driver that enables access to it. For example, PDO_DBLIB driver is not available anymore on Windows with PHP 5.3 or later, so you need to use SqlSrv, an alternative driver for MS SQL that is available from Microsoft.
If it is not possible to use SqlSrv, you can use the PDO_ODBC driver to connect to Microsoft SQL Server.
They all depend on your server, not our configuration. For the plugin to be able to connect to a separate database connection, your server needs to have the proper drivers to enable that connection.
I'll check with our team and see if we can add a list of possible drivers that need to be installed in our documentation.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
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