class_docstr: The creation stage of the checks.
docstr: Check if database of specified type can be created.
docstr_tok: ["Check","if","database","of","specified","type","can","be","created","."]
code: def check_database_creation(self):
      """Check if database of specified type can be created."""
      database = self.p_stage.db_config
      db_type = database.pop("type")
  
      try:
          db = database_factory.create(db_type, **database)
      except ValueError as ex:
          raise CheckError(str(ex)) from ex
  
      if not db.is_connected:
          raise CheckError("Database failed to connect after creation.")
  
      self.instance = db
  
      return "Success", ""
  
imports: from orion.core.io.database import database_factory
  from orion.core.utils.exceptions import CheckError
label_desc: Use image node_id 3 for calling the CreationStage obj's underlying member method code with example usage: obj.check_database_creation() and returns: str,  str