Hello,
Basic details: Moodle version: 3.3.5, PHP: 7.1.22, servers Windows 2016 database and web.
Description: I'm struggling to clone/migrate a moodle site to a newer host web and database server. I've done this with other moodle sites so I have settings to reference and have gone over those many times. Have read all I can find online and in the forum about this issue, combed through the config.php settings, tested database and dbuser accounts, tested PHP and reset PHP folders, and looked at PHP logs. Database server looks healthy - plenty of room on all drives. Ran maintenance plan on database to rebuild indexes and clean data, which passed. Am at a bit of a loss. Am thinking it could be a random setting on this new web server because the database server is housing other databases that are not having any issues.
Full error message: 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.php.
Any suggestions would be very welcome!
Thank you!!