FIND and REPLACE wp_posts AND IGNORE custom post type mysql query

Add a WHERE clause to your query for post_type="post".

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)