If the database fails over in your environment, your application server must be able to reconnect.
Complete the task for your application server.