入场时
Add-OdbcDsn -Name $ODBCConnectionName -DriverName "Amazon Redshift (x64)" -DsnType "System" -Platform '64-bit' -SetPropertyValue @("Server=$DBHostname","port=$Port", "Database=$DBName","User=$USER","Password=$Password") 不执行任何错误
发布于 2021-03-09 20:19:59
成功时,Set-OdbcDsn命令没有输出。检查是否成功地完成了
Get-OdbcDsn -Name $ODBCConnectionName -DsnType System不过,您可能会看到一些问题:
System类型的DSNs。User类型的DSN,那么只有运行该命令的用户才能看到它。https://serverfault.com/questions/1056285
复制相似问题