Parameters | Description |
Account type | Specify the field for client identity ID authentication; you may select username or clientid according to business requirements. |
Password encryption method | Select the hash algorithm used to store the password, such as plain, md5, sha, bcrypt, pbkdf2, and many other. Selecting different encryption methods requires configuring different parameters.
|
Parameters | Description |
Service | Enter the private network access address of the MySQL instance to be queried. The format is {private domain}:{port}. |
Database | Enter the name of the database to be queried. |
Username | Enter the username. warning Ensure that the corresponding user has read and write permissions for the specified database. |
Password | Enter the password. |
Enable TLS | Configure whether to enable TLS verification and whether to verify the server certificate. If verification is required, configure Cert and Key separately. |
Connection pool size | Configure the Connections number for MQTT to the specified MySQL database. The default value is 8; you may configure other integer values according to business requirements. |
Query timeout | Specify the connection timeout duration. The default is 5 seconds. You can configure other integer values based on your business requirements. Available units: milliseconds, seconds, minutes, hours. |
Password encryption method | Select the hash algorithm used to store the password, such as plain, md5, sha, bcrypt, pbkdf2, and many other. Selecting different encryption methods requires configuring different parameters. |
Select the plain, md5, sha, sha256, or sha512 encryption method | Salting method: Used to specify the combination method of salt and password; generally, this option does not need to be changed.
|
Select the pbkdf2 encryption method |
|
SQL | Based on the table structure, write the SQL query statement. For specific requirements, see SQL table structure and query statements. |
Field | Description |
password_hash | Plaintext or hashed password field in the database. |
salt (optional) | If empty or not present, it is considered as an empty salt (salt = ""). |
is_superuser (optional) | Indicate whether the current client is a superuser. The possible values are as follows:
|