AOS service stops responding when connecting to a new database

In AX 2012 R2, i am trying to connect to a database that was not created by Setup. For that i have created a configuration by mentioning new database details. when i apply the changes it prompts for AOS service restart. Then the service stops responding and the service wont start again. Please anyone help me to find a solution to connect the database.

If AOS can’t start, you should always check event log for more information.

Was the database used by the same service account? If not, your AOS likely doesn’t have permissions to use it.