obsidiangroup
After more investigating and experimenting, it appears that mysql_password value in /etc/gromox/adapter.cfg is not being parsed correctly.
(https://docs.grommunio.com/man/adaptor.8gx.html) states:
mysql_password
Default: (unset)
However, when looking at (https://github.com/grommunio/gromox/blob/master/tools/adaptor/main.cpp), the way the config file is parsed states (line 78):
data_source_init(pconfig->get_value("mysql_host"),
strtol(pconfig->get_value("mysql_port"), nullptr, 0),
pconfig->get_value("mysql_username"), pconfig->get_value("mysql_passwd"),
pconfig->get_value("mysql_dbname"));
Thus when reading the config file, the token it is looking for is mysql_passwd and not mysql_password as the documentation states. I'm opening a github issue about this, as once I made the change the errors disappear:
(https://github.com/grommunio/gromox/issues/11)