external database connectivity

external database connectivity

por edward edward -
Número de respostas: 1

Hi All,

PHP Version 7.2.24-0ubuntu0.18.04.6

 My moodle is running on the above versions. I want to enroll the users from my external sql server. but always its saying missing extension. I installed odbc and sqlsrv extension and its connected through the test connectivity php code. But while trying to connect through external database access plugin its's not connecting.

 

Please help me someone to connect the same. 

Em resposta à edward edward

Re: external database connectivity

por Lino Vaz Moniz -

Edward,

To solve the connection problem with external database, I suggest you to test outside enrol plugin.

Create a code in Moodle in php that connects to an external database SQL Server. Enable debug to detail error. When the connection works, the plugin will certainly work too. The detail erro will help you to check config of drive.