Asterisk real time

Hello, I’m using mysql databases for sip peers and the dialplan (Asterisk real time). It’s working fine, but there is a warning wich appears in the registration and unregistration of the database users:

Registered SIP ‘105’ at 192.168.4.244 port 5070 expires 3600
Sep 15 08:52:19 WARNING[7136]: res_config_mysql.c:360 update_mysql: MySQL RealTime: Failed to query database. Check debug for more info.

== Spawn extension (105, 105, 2) exited non-zero on ‘SIP/105-08159b20’
– Executing MeetMe(“SIP/105-08159b20”, “101”)
== Parsing ‘/etc/asterisk/meetme.conf’: Found
– Created MeetMe conference 1023 for conference ‘101’
– Playing ‘conf-onlyperson’ (language ‘en’)
– Hungup ‘Zap/pseudo-38292027’

== Spawn extension (105, 12345, 1) exited non-zero on ‘SIP/105-08159b20’
– Unregistered SIP '105’
Sep 15 08:55:18 WARNING[7136]: res_config_mysql.c:360 update_mysql: MySQL RealTime: Failed to query database. Check debug for more info.

What is wrong??

Thanks

Do what it says. Do a full debug and see what error it is getting. I am going to go on a hunch and see the permissions for the user that you have asterisk using connecting to mysql.