I've got two mysql servers and they are configured to act as master and slave for mysql replication. Things works fine till I execute following query against the master database. The query runs without any issues on master and the replication fails with the given error.
I tried executing the same query against the slave directly and then it runs fine. What would be the issue and how I can solve the things up?
The error message (Query is also there)
Error 'Table 'micro.PROFILE' doesn't exist' on query. Default database: 'micro'. Query: 'INSERT INTO profile_copy (SELECT *,99,NOW() FROM PROFILE WHERE p_id=155)'