- Home /
Question by
jackychu590317 · Jan 26 at 09:28 AM ·
sqldatabase
Cannot connect to a MS SQL Server database using Windows authentication, through the unity
Cannot connect to a MS SQL Server database using Windows authentication, through the unity.
but SqlServer authentication can use. this is my code
SqlConnectionStringBuilder scsb = new SqlConnectionStringBuilder();
scsb.DataSource = ".\\SQLExpress";//,49680";
scsb.InitialCatalog = DataBaseName;
scsb.IntegratedSecurity = true;
SqlConnection sqlconn = new SqlConnection(scsb.ToString());
sqlconn.Open();
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613052146im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Sql Server Compact 4.0 error 2 Answers
How do I import MySql Connector into Unity Project? 2 Answers
Visual studio Database 0 Answers
VR Highscore with database (SQLite) 1 Answer