1
我安裝的Linux版本的Microsoft SQL Server ODBC驅動程序13的SQL Server ODBC驅動程序的Linux用戶名「」
我可以用用戶名密碼登錄命令行,但不與內ODBC.INI
的用戶名和密碼例如
curl https://packages.microsoft.com/config/rhel/6/prod.repo > /etc/yum.repos.d/mssql-release.repo yum install msodbcsql mssql-tools
[[email protected] etc]# cat odbc.ini
[MY_ODBC_DSN]
Driver = ODBC Driver 13 for SQL Server
Server = tcp:10.10.10.1,1433
Database = demo
UID = user1
PWD = password
不工作
isql -v MY_ODBC_DSN user1 password
不義和k
isql -v MY_ODBC_DSN
[28000][unixODBC][Microsoft][ODBC Driver 13 for SQL Server][SQL Server]Login failed for user ''.
[ISQL]ERROR: Could not SQLConnect
剛剛獲悉這是不可能 https://social.msdn.microsoft.com/Forums/sqlserver/en-US/d4eab3b3-6254-4644-a1e4-e6866f7507fd/uid-in-odbcini?forum= sqldataaccess –