Skip to content

Feature/mssql python support#759

Merged
mdipierro merged 2 commits intoweb2py:masterfrom
josetduarte:feature/mssql-python-support
Jan 18, 2026
Merged

Feature/mssql python support#759
mdipierro merged 2 commits intoweb2py:masterfrom
josetduarte:feature/mssql-python-support

Conversation

@josetduarte
Copy link
Contributor

This pull request adds support for Microsoft's official mssql-python driver to the DAL, enabling modern SQL Server features, improved security defaults, and a range of Microsoft Entra ID authentication modes. The changes introduce a new MSSQLPython adapter, update driver detection and documentation, and ensure the new driver is available for connections.

Microsoft mssql-python driver integration:

  • Added "mssql-python" to the list of supported drivers in the MSSQL adapter, and registered the new driver in DRIVERS for dynamic loading. [1] [2]
  • Introduced a new MSSQLPython adapter class (MSSQLPython) with support for SQL Server 2012+ features, modern authentication (including various Microsoft Entra ID modes), and encryption settings. This includes a new URI scheme (mssqlpython://) and detailed parameter parsing for secure and flexible connections.
  • Updated documentation and connection string examples in pydal/base.py to include the new mssqlpython:// URI format.

@josetduarte
Copy link
Contributor Author

maybe a good option to solve #712

@mdipierro mdipierro merged commit 3e3554c into web2py:master Jan 18, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants