[ODBC Driver 17 for SQL Server] Description=Microsoft ODBC Driver 17 for SQL Server Driver=/opt/microsoft/msodbcsql17/lib64/libmsodbcsql-17.10.so.6.1 UsageCount=1
配置DSN
1 2 3 4
[sql1] ## 名字可自定义 Driver = ODBC Driver 17 for SQL Server 选择上一步的名字 Server = 10.202.0.201 ## DB IP地址,端口默认1433 TrustServerCertificate = yes
1. 通过isql命令可以连接,但是在zabbix上不行,提示A network-related or instance-specific error has occurred while establishin
解决办法: 查看SELinux以及firewalld,把这俩都关了就好了
2. Microsoft ODBC Driver 18 for SQL Server : SSL Provider: [error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:self signed certificate]