Support > Forums > OpenBots Studio > How to connect external databases?
I am trying to connect external Databases like MariaDB, MySQL, etc. while connecting am getting the following error. Exception Type: ArgumentException, Exception Message: The .Net Framework Data Provider for OLEDB (System.Data.OleDb) does not support the Microsoft OLE DB Provider for ODBC Drivers (MSDASQL). Use the .Net Framework Data Provider for ODBC (System.Data.Odbc). How to connect external databases? please help? Thank you.
This forum has 317 topics, 687 replies, and was last updated 4 months ago by Nataly Alvarado...
Hi Lakshman,
In order to connect to an external database, you need to use the "Define Database Connection Command". Use the "Build Connection String" option to build the correct connection string for your database and the "Test Connection" feature to ensure the bot is able to connect to the database using the generated connection string. To test the connection string, make sure the database password is mapped correctly by following the tooltip guide.
The shared error indicates that the wrong driver option was selected when building the query string. Based on the shared information, you should probably be using one of the following (the driver should be selected depending on the database trying to stablish a connection):
Microsoft OLE DB Provider for SQL Server Microsoft OLE DB Simple Provider
You are not authorized to reply, please click here to login and add your reply to this topic.