Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
wp-config Connection Settings for integrated users #309
Throwing Error establishing a database connection when i tried to setup wordpress using MSSQL App Id Account.
How can we set integrated security login settings in wp-config.php?
i want to achieve something like this if its possible "add name="maDB" connectionString="Data Source=VD180000.ds.test.mycomp.com;Database=MyWordpressDB;Integrated Security=True;Trusted_Connection=Yes"
This might be something which could be enabled. But what are your thoughts on it being an environment variable rather than a setting in wp-config? I ask because I see a chicken vs. egg scenario when performing the initial installation if the setting isn't already established.
Yes. At this time you only need to enable SQL Authentication on your SQL Server and use a SQL account to connect.
Note that you must run at least SQL 2012 (Express is fine). And I would suggest running the newest version you have available. We will soon be adding support for new MySQL translations which will need SQL 2017 in order to be enabled.