Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想连接到包括 4 个不同数据库服务器的可用性组(侦听器 ip)。在我的连接字符串中,我指定
application intent = readonly
属性以只读方式连接。但它失败了
数据库连接错误
有两种不同的情况:
当我使用数据库 ip 而不是监听器 ip 时,我可以连接到数据库
当我删除时application intent = readonly,我可以连接到数据库
谁能帮我?
你试过不带空格的写作吗?“应用程序意图 = 只读”
在 SQL Server Native Client 中使用连接字符串关键字