[asterisk-users] MySQL RealTime Error

Zhang Shukun bitzsk at gmail.com
Wed Jan 27 01:41:16 CST 2010


2010/1/26 Carlos Chavez <cursor at telecomabmex.com>:
>        You must read the upgrade instructions.  The database definitions in
> res_mysql.conf have changed.  The way you reference the database in
> extconfig.conf is also different.

solved...

it is my configuration error of res_mysql.conf and extconfig.conf file

the database name not matched.

>
> On Mon, 2010-01-25 at 09:33 +0000, Ishfaq Malik wrote:
>> What happens when you try the command
>>
>> mysql -uroot -proot asterisk
>>
>> Ish
>>
>> Zhang Shukun wrote:
>> > hi,all
>> >
>> > when i upgrade from 1.4.28 to 1.6.2.1, i can't connect to mysql
>> > database anymore, error as follow:
>> >
>> > [Jan 25 15:38:25] WARNING[3003]: res_config_mysql.c:325
>> > realtime_mysql: MySQL RealTime: Invalid database specified: asterisk
>> > (check res_mysql.conf)
>> >
>> > the content of res_mysql.conf is:
>> >
>> > http://www.pastebin.org/81966
>> >
>> > i've try command " mysql -uroot -proot" ,i can connect to mysql successfully.
>> >
>> > Could you tell me what's wrong with me ?
>> >
>> >
>>
>> --
>> Ishfaq Malik
>> Software Developer
>> PackNet Ltd
>>
>> Office:   0161 660 3062
>>
>
> --
> Telecomunicaciones Abiertas de México S.A. de C.V.
> Carlos Chávez Prats
> Director de Tecnología
> +52-55-91169161 ext 2001
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>



-- 
Best regards,
Sucan



More information about the asterisk-users mailing list