I'm running through the install process of Moodle 3.6.3 and am now stuck on the Database Settings page. I'm getting the following error:
Error: Database connection failed
It is possible that the database is overloaded or otherwise not running properly.
The site administrator should also check that the database details have been correctly specified in config.phpSQLState: 28000
Error Code: 18456
Message: [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Login failed for user 'domain\user'.
I have two Windows 2016 servers one with IIS and the other with SQL 2016.
I've installed the Microsoft ODBC Driver 17 for SQL Server and the SQL drivers in the C:\Program Files\PHP\v7.2\ext folder "php_sqlsrv_72_nts_x64.dll" "php_pdo_sqlsrv_72_nts_x64.dll" and added the following to my php.ini:
I've created a DB and enabled "SQL Server and Windows Authentication mode". TCP/IP is also enabled.
I've run through as many forums as I can and the solutions are not working for my issue. What am I missing?