MySQL insert into different databases tables based on PK value
Hi you can try the below query.

insert into db1.user_feedback as select * from db2.user_feedback where &lt; your 
conditions&gt;;
insert into db2.user_feedback as select * from db1.user_feedback where &lt; your 
conditions&gt;;