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:
host
is the host name or IP address.port
is the port used to make TCP/IP connection.database
is the database name.user
is the database user.password
is the database password.