I have downloaded the mssql driver for php 7 and enabled them in .ini file as well but it still throws the error. codeception works for mysql but I am having issues connecting ms sql server.
What is the error message? Did you check phpinfo.
Thanks for the reply. I was providing the wrong dsn format . The correct format is : dsn:"sqlsrv:Server=localhost,1433;Database=Dbname"