Check database is installed.