dbSetPassword

Purpose

Sets the database connection’s password.

Format

dbSetPassword(db_id, pswd)
Parameters:
  • db_id (scalar) – database connection index number.

  • pswd (string) – password for database.

Remarks

This function must be called before the connection is opened with dbOpen() to have an effect.

See also

dbGetPassword()