Database copy/synch

This may seem like an off the wall question, but I am wondering if there is a way to have info duplicated/copied into another database upon entry in first database.

Basically, this is what I have. I have 2 different sites. One is for Doctors, the other is for Patients. There is a long questionaire that I want patients to be able to fill out on the patient website, but viewable by the doctors on the doctors website. So, I have two database, but the tables that I need to duplicate from/to are labeled the same in their corresponding database, and both databases are under the same cpanel.

I know I could accomplish this by adding an sql query to input data into second database, but wondering if there is a way within mysql that will allow me to do this.

 

Any help would be greatly appreciated. Thanks in advance.

caredesign.net
Quote · 6 Apr 2014

That's the nice thing about a relational database. You should be using a single DB for both sites. Would be much easier.....

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 8 Apr 2014

 

That's the nice thing about a relational database. You should be using a single DB for both sites. Would be much easier.....

 I thought about this and mapped it out. Based on our needs, it would complicate things

caredesign.net
Quote · 8 Apr 2014
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.