public static void checkDatabase(final String database) throws IllegalPathException {
    if (!IoTDBConfig.STORAGE_GROUP_PATTERN.matcher(database).matches()) {
      throw new IllegalPathException(
          String.format(
              "The database name can only contain english or chinese characters, numbers, backticks and underscores. %s",
              database));
    }
  }
check whether the database name uses illegal characters
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/schemaengine/schemaregion/utils/MetaFormatUtils.java