简体   繁体   English

来自SQLAlchemy的加密数据库连接

[英]Encrypted database connection from SQLAlchemy

在RedHat Linux上配置具有SSL支持的SQLAlchemy时需要执行哪些步骤,以便我可以连接到需要加密连接的MS SQL Server实例?

If you really want to use pymssql (as suggested by the tag on your question) then you'll need to build it from source in order for it to support SSL connections. 如果您确实要使用pymssql (如问题标记所建议),则需要从源代码构建它以使其支持SSL连接。 The process will be similar to the one described in the answers to this question . 该过程将类似于对该问题的答案中所述的过程。

Alternatively, you may find it easier to use pyodbc along with Microsoft's SQL Server ODBC Driver for Linux . 另外,您可能会发现将pyodbc与Microsoft的SQL Server ODBC Linux驱动程序一起使用更容易。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM