[asterisk-users] Upgrade from 1.4 to 1.6 : problems with realtime mysql

Gareth Blades list-asterisk at skycomuk.com
Wed Sep 8 09:50:51 CDT 2010


Jonas Kellens wrote:
> Hello,
> 
> in asterisk 1.4.30 all realtime configurations go well.
> 
> In asterisk 1.6.2.11 the following appears on CLI :
> 
> [Sep  8 16:43:43] WARNING[1843]: res_config_mysql.c:325 realtime_mysql: 
> MySQL RealTime: Invalid database specified: MyDBase (check res_mysql.conf)
> [Sep  8 16:43:43] WARNING[1843]: res_config_mysql.c:325 realtime_mysql: 
> MySQL RealTime: Invalid database specified: MyDBase (check res_mysql.conf)
> 
> res_mysql.conf :
> 
> [general]
> dbhost = 127.0.0.1
> dbname = MyDBase
> dbuser = asterisk
> dbpass = mysecret
> dbport = 3306
> dbsock = /tmp/mysql.sock
> requirements=warn ; or createclose or createchar
> 
> 
> What do I need to change to be conform asterisk 1.6 ?!
> 
> Reloading, restarting asterisk and restarting my CentOS-server all 
> doesn't help.
> 
> 
> Jonas.
> 

You have no entry called MyDBase in there.
Rename '[general]' to '[MyDBase]' and give it another go.



More information about the asterisk-users mailing list