code: def db_create(name, user=None, password=None, host=None, port=None):
      '''
      Create a database
  
      name
          Database name to create
  
      user
          The user to connect as
  
      password
          The password of the user
  
      host
          The host to connect to
  
      port
          The port to connect to
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' influxdb08.db_create <name>
          salt '*' influxdb08.db_create <name> <user> <password> <host> <port>
      '''
      if db_exists(name, user, password, host, port):
          log.info('DB \'%s\' already exists', name)
          return False
      client = _client(user=user, password=password, host=host, port=port)
      client.create_database(name)
      return Truf db_create(name, user=None, password=None, host=None, port=None):
      '''
      Create a database
  
      name
          Database name to create
  
      user
          The user to connect as
  
      password
          The password of the user
  
      host
          The host to connect to
  
      port
          The port to connect to
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' influxdb08.db_create <name>
          salt '*' influxdb08.db_create <name> <user> <password> <host> <port>
      '''
      if db_exists(name, user, password, host, port):
          log.info('DB \'%s\' already exists', name)
          return False
      client = _client(user=user, password=password, host=host, port=port)
      client.create_database(name)
      return True
docs: Create a database
  
      name
          Database name to create
  
      user
          The user to connect as
  
      password
          The password of the user
  
      host
          The host to connect to
  
      port
          The port to connect to
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' influxdb08.db_create <name>
          salt '*' influxdb08.db_create <name> <user> <password> <host> <port>