MySQL replication fails with error
<p>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.</p>

<p>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?</p>

<p>The error message (Query is also there)</p>

<pre><code>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)'
</code></pre>