Moodle was originally installed and is using an SQL Server database My-Company-SQL
Because I am developing and testing, I have copied the database to our test SQL server My-Company-SQL \test
I would like the current Moodle to use the new database.
However when I edit the file config.php (at the root of moodle) and change
$CFG->dbhost = 'My-Company-SQL';
$CFG->dbhost = 'My-Company-SQL\test';
there is no difference. I go to site administration>server>environment the database item on the page still shows the old database and any new operation (course, user, etc..) is commited to the old database
Have I missed a configuration item ?
Could you please help ?