mysql sync

hi

i have 2 database with diff content but same structure

how can i have a database that contain all content from both database without duplication?

thanks