簡體   English   中英

連接字符串中的 AllowUserVariables - SQL Server Express

[英]AllowUserVariables in connection string - SQL Server Express

我試圖在我的連接字符串中添加“AllowUserVariables=true”以使用 C# 訪問 SQL Server Express。 Keyword not supported: 'allowuservariables'. 拋出異常。 我該如何解決這個問題?

嘗試“允許用戶變量= True”

鏈接

僅在 ms SQL 服務器中,您可以運行此命令:

<add name="ConnectionString_LIVE_customer_support" connectionString="server=REMOVED;port=REMOVED;User Id=REMOVED;password=REMOVED;Persist Security Info=True;database=customer_support;Sql Server Mode=True;Allow User Variables=True" providerName="MySql.Data.MySqlClient" />

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM