<div class="gmail_quote">2011/2/17 Ishfaq Malik <span dir="ltr"><<a href="mailto:ish@pack-net.co.uk">ish@pack-net.co.uk</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div><div class="h5">On Thu, 2011-02-17 at 11:28 -0200, Rodrigo Lang wrote:<br>
> Hi to all.<br>
><br>
> I make some tests with Asterisk 1.8.2 in Realtime. But i have one<br>
> problem, the asterisk don't connect in the base and show this message:<br>
><br>
> [Feb 17 11:18:01] WARNING[19061]: res_config_mysql.c:441<br>
> realtime_multi_mysql: MySQL RealTime: Invalid database specified:<br>
> 'asterisk_teste' (check res_mysql.conf)<br>
><br>
><br>
> I checked the asterisk config file (res_mysql.conf) and the<br>
> configuration is ok. My configuration of table and extconfig.conf is<br>
> the same of the version 1.6.0.<br>
><br>
> The cdr use the same base, same user/pass, and his save the registers<br>
> ok.<br>
><br>
> This is happening to the queues, queues_members, muscionhold and<br>
> queue_log in Realtime (That's is all the modules i use in Realtime).<br>
><br>
> I tested the base and the MySQL and is working ok.<br>
><br>
><br>
> I appreciate in advance any help,<br>
> --<br>
> Rodrigo Lang<br>
> Opening your mind - Just another Open Source site<br>
</div></div>The res_mysql.conf format changed from 1.6 to 1.8<br>
<br>
The config now goes in in the following format<br>
<br>
[db-name]<br>
dbhost = x.x.x.x<br>
dbname = db-name<br>
dbuser = db-user<br>
dbpass = db-pass<br>
dbport = 3306<br>
<br>
<br>
Is this how yours is set up?<br></blockquote><div><br> </div><div>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!<br>
<br><br>Thanks again!<br></div></div>-- <br>Rodrigo Lang<br><a href="http://openingyourmind.wordpress.com/" target="_blank">Opening your mind - Just another Open Source site</a><br><br>