Hello uncle CrazyCat,
You tried to add a block in "module {name = "m_mysql"}" by changing the value of name in "mysql {name = "mysql/main" }"
module
{
name = "m_mysql"
mysql
{
/* The name of this service. */
name = "mysql/main"
database = "anope"
server = "127.0.0.1"
username = "anope"
password = "mdp"
port = 3306
}
mysql
{
name = "mysql/secondary"
database = "anope"
server = "Host.Of.secondary.db"
username = "anope"
password = "mdp"
port = 3306
}
}
and in the module change "mysql/main" to "mysql/secondary"
module
{
name = "m_sql_authentication"
/* SQL engine to use. Should be configured elsewhere with m_mysql, m_sqlite, etc. */
engine = "mysql/secondary"
I did not try. this is a guess of solution