Move publish-db-connection-info hook to mock-plugin