2011/2/17 Ishfaq Malik <[email protected]>

> On Thu, 2011-02-17 at 11:28 -0200, Rodrigo Lang wrote:
> > Hi to all.
> >
> > I make some tests with Asterisk 1.8.2 in Realtime. But i have one
> > problem, the asterisk don't connect in the base and show this message:
> >
> > [Feb 17 11:18:01] WARNING[19061]: res_config_mysql.c:441
> > realtime_multi_mysql: MySQL RealTime: Invalid database specified:
> > 'asterisk_teste' (check res_mysql.conf)
> >
> >
> > I checked the asterisk config file (res_mysql.conf) and the
> > configuration is ok. My configuration of table and extconfig.conf is
> > the same of the version 1.6.0.
> >
> > The cdr use the same base, same user/pass, and his save the registers
> > ok.
> >
> > This is happening to the queues, queues_members, muscionhold and
> > queue_log in Realtime (That's is all the modules i use in Realtime).
> >
> > I tested the base and the MySQL and is working ok.
> >
> >
> > I appreciate in advance any help,
> > --
> > Rodrigo Lang
> > Opening your mind - Just another Open Source site
> The res_mysql.conf format changed from 1.6 to 1.8
>
> The config now goes in in the following format
>
> [db-name]
> dbhost = x.x.x.x
> dbname = db-name
> dbuser = db-user
> dbpass = db-pass
> dbport = 3306
>
>
> Is this how yours is set up?
>


Thanks a lot, i solved the problem. First, the WARNING about
'res_mysql.conf', but the file now is 'res_config_mysql.conf'. Second, i
changed the '[generals]' to the name of my database. Worked ok!


Thanks again!
-- 
Rodrigo Lang
Opening your mind - Just another Open Source
site<http://openingyourmind.wordpress.com/>
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to