I have setup the generic database configuration in Mule and have set the JDBC connection string to
我在Mule中設置了通用數據庫配置,並將JDBC連接字符串設置為
jdbc:sqlserver:// ${db.host};databaseName=${db.name};user=${db.user};password=${db.password};integratedSecurity=true;
The database requires Windows Authentication which is different to my own personal windows login so the db.user value is set to DOMAIN\\userId and I have added the auth dll file to the native library of the SQL Server jar in the build path.
數據庫需要Windows身份驗證,這與我自己的個人Windows登錄不同,因此db.user值設置為DOMAIN \\ userId,我已將auth dll文件添加到構建路徑中SQL Server jar的本機庫。
It returns the error message below:
它返回以下錯誤消息:
The password does contain special characters (!^#) but I can get a "Test successful" message when I test the connection without a database name in the jdbc connection string.
密碼確實包含特殊字符(!^#)但是當我在jdbc連接字符串中測試沒有數據庫名稱的連接時,我可以得到“測試成功”消息。
I can however login using the same credentials and access the database using SQL Management Studio.
但是,我可以使用相同的憑據登錄並使用SQL Management Studio訪問數據庫。
Does anyone know what might be causing the issue?
有誰知道可能導致這個問題的原因是什么?
0
I'm not MSSQL admin but i've got something like that and it works - maybe you could use it somehow.
我不是MSSQL管理員,但我有類似的東西,它的工作原理 - 也許你可以以某種方式使用它。
jdbc:sqlserver://{host}\{domain}:1433;databaseName={db.name};user={user};password={password}
本站翻译的文章,版权归属于本站,未经许可禁止转摘,转摘请注明本文地址:https://www.itdaan.com/blog/2017/08/02/725e461095100b0c1980cbf80ec21a3a.html。