Jonas Kellens
2010-Sep-08 14:48 UTC
[asterisk-users] Upgrade from 1.4 to 1.6 : problems with realtime mysql
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. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100908/a40572fb/attachment.htm
Gareth Blades
2010-Sep-08 14:50 UTC
[asterisk-users] Upgrade from 1.4 to 1.6 : problems with realtime mysql
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.