kjcsb
2007-Jan-25 23:36 UTC
[asterisk-users] Re: Realtime - one database driver, multiple databases
> Is it possible to have different families refer to different databases for > the same database driver? The examples I have seen specify the same host, > database etc. For example is this possible: > extconfig.conf > sipusers => mysql,asterisk,asterisk_sip > voicemail => mysql,mail,voicemail > > If it is possible, what is the correct way to specify the details in > res_mysql.conf? > Something like this? > [general] > dbhost = asterisk.domain.com > dbname = asterisk > dbuser = asteriskuser > dbpass = test > dbport = 3306 > dbhost = mail.domain.com > dbname = mail > dbuser = mailuser > dbpass = test > dbport = 3306 > > Regards > > Cameron