you can configure different mysql connections :
module
{
name = "m_mysql"
mysql
{
/* The name of this service. */
name = "mysql/main"
database = "anope"
server = "127.0.0.1"
username = "anope"
password = "mypassword"
port = 3306
}
mysql
{
/* The name of this service. */
name = "mysql/forum"
database = "phpbb"
server = "forum.your-net.com"
username = "phpbb"
password = "mypassword"
port = 3306
}
}
and then configure m_sql_authentication to use the second connection:
module
{
name = "m_sql_authentication"
/* SQL engine to use. Should be configured elsewhere with m_mysql, m_sqlite, etc. */
engine = "mysql/forum"
....