Check before creating kuansim database

Do not create kuansim database if it always exists.