Prerequisites
Before proceeding, ensure the following prerequisites are met:- Install MindsDB locally via Docker or use MindsDB Cloud.
- To connect Microsoft SQL Server to MindsDB, install the required dependencies following this instruction.
- Install or ensure access to Microsoft SQL Server.
Implementation
This handler is implemented usingpymssql, the Python language extension module that provides access to Microsoft SQL Server from Python scripts.
The required arguments to establish a connection are as follows:
hostis the host name or IP address.portis the port used to make TCP/IP connection.databaseis the database name.useris the database user.passwordis the database password.