mysql_adaptor — MySQL/MariaDB connector for user metadata and authentication
mysql_adaptor is a service plugin for integrating mail accounts from a MySQL/MariaDB database.
The usual config file location is /etc/gromox/mysql_adaptor.cfg.
- Number of SQL connections to keep active.Default: 8
- This flag determines whether non-LDAP users with no recorded password (empty users.password SQL column) will have the account's password set to whatever credential was passed along in the first authentication request.Default: o
- The hostname/IP address for contacting the SQL server.Default: localhost
- The TCP port number for contacting the SQL server.Default: 3306
- This sets the MYSQL_OPT_READ_TIMEOUT and MYSQL_OPT_WRITE_TIMEOUT option values on the MySQL connection.Default: 0 (no timeout)
Default: 1 minute
This controls what to do when a database schema update is available. Because the mysql_adaptor plugin is loaded by many programs across potentially multiple machines, the basic default is to do nothing.
Perform automatic schema upgrades if the program which has loaded mysql_adaptor is http(8gx) and only if http.cfg's host_id value matches xyz.
- (any other value)
No automatic schema upgrades are performed in the process which has loaded the plugin. The plugin may be unable to process or produce certain data, e.g. if it relies on a table that has not yet been created. Generally, no restart is needed when that upgrade is finally performed, because SQL queries just start working. However, there may be some caches, e.g. in the zcore(8gx) address book that could remain empty until the refresh timer expires or a manual reload is triggered.