2 wordpress site same database

I would look into using HyperDB instead.
This would allow you to pull data from several databases while one is replicated as the “master” database.

http://wordpress.org/plugins/hyperdb/

From the description page of the plugin:

It supports:

  • Read and write servers (replication)
  • Configurable priority for reading and writing
  • Local and remote datacenters
  • Private and public networks
    – Different tables on different databases/hosts
  • Smart post-write master reads
  • Failover for downed host
  • Advanced statistics for profiling

Hope this helps you.