Go to the source code of this file.
◆ PARSE_COMMAND_LINE_PASSWORD_OPTION
      
        
          | #define PARSE_COMMAND_LINE_PASSWORD_OPTION | 
        
      
 
Value:  case 'p':                                            \
    parse_command_line_password_option(opt, argument); \
    break;
@ OPT_MFA_PASSWORD2
Definition: client_priv.h:195
 
@ OPT_MFA_PASSWORD3
Definition: client_priv.h:196
 
@ OPT_MFA_PASSWORD1
Definition: client_priv.h:194
 
 
 
 
◆ free_passwords()
Release memory for opt_password. 
 
 
◆ parse_command_line_password_option()
      
        
          | void parse_command_line_password_option  | 
          ( | 
          const struct my_option *  | 
          opt,  | 
        
        
           | 
           | 
          char *  | 
          argument  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
parse passwords for –password or –password<N> option where N = 1,2,3 
parse passwords for –password or –password<N> option where N = 1,2,3
This method checks if password value is specified or not. If not then a flag is set to let client accept password from terminal.
- Parameters
 - 
  
    | opt | password option  | 
    | argument | value specified for –password<1,2,3> or –password  | 
  
   
 
 
◆ set_password_options()
      
        
          | void set_password_options  | 
          ( | 
          MYSQL *  | 
          mysql | ) | 
           | 
        
      
 
Set password in mysql->options. 
Set password in mysql->options. 
If tty_password is true get password from terminal and update in opt_password and set tty_password to false
If opt_password is populated call mysql_options4()
 
 
◆ opt_password
◆ tty_password