Yeah, this is the message I get in syslog.
Jun 19 07:41:37 VoIP-Platform-Primary /usr/local/sbin/kamailio[1682]: ERROR: db_mysql [km_dbase.c:122]: db_mysql_submit_query(): driver error on query: The user specified as a definer ('kamailio'@'localhost') does not exist
Jun 19 07:41:37 VoIP-Platform-Primary /usr/local/sbin/kamailio[1682]: ERROR: <core> [db_query.c:181]: db_do_raw_query(): error while submitting query
Jun 19 07:41:37 VoIP-Platform-Primary /usr/local/sbin/kamailio[1682]: ERROR: sqlops [sql_api.c:264]: sql_do_query(): cannot do the query
Jun 19 07:41:37 VoIP-Platform-Primary /usr/local/sbin/kamailio[1682]: ERROR: db_mysql [km_dbase.c:122]: db_mysql_submit_query(): driver error on query: The user specified as a definer ('kamailio'@'localhost') does not exist
Jun 19 07:41:37 VoIP-Platform-Primary /usr/local/sbin/kamailio[1682]: ERROR: <core> [db_query.c:181]: db_do_raw_query(): error while submitting query
Jun 19 07:41:37 VoIP-Platform-Primary /usr/local/sbin/kamailio[1682]: ERROR: sqlops [sql_api.c:264]: sql_do_query(): cannot do the query
I had removed any reference to localhost in my kamailio config