We have taken a copy of our Primary server (virtual) and SQL database
(seperate SQL Server) into our test lab. I've amended the ZDM.XLM,
stopped and started the services as per the documentation. However, I
still cannot connect to the SQL database.

Anyone got any idea what could be happening?

Error message when trying to log in is:

Unable to connet to the ZENworks database. Please ensure the Zenworks
database is running.....