I believe you mean to say that you want to share two databases located at two different MySQL servers.
If I am correct, then you just need to connect to both the server using SQLyog ( you can connect to different server using the same installation of SQLyog ) and sync them using Tools->Database Synchronization Wizard
Neway, install SQLyog in the other PC. Instead of giving “localhost” in the MySQL Host Address field, give the IP address of the machine in which MySQL is installed.