Replace existing Database with another one

midomalah wrote on Monday, December 31, 2012:

I’m a new to Open EMR , so I will be pleased if anyone help me in this issue

I installed an open EMR version on two different separated servers. I need now to import the database from one of them to other one. I do some search and I found the sqlconf.php in site/default …. I keep the database but drop all tables from it, then import the database that I want but it didn’t work … any help please? 

capminds wrote on Monday, December 31, 2012:

Hi,
      Could you please tell to us,What error message you got in your installation?So that we can address you exactly.

Naina
emr@capminds.com
www.capminds.com

capminds wrote on Monday, December 31, 2012:

Hi
     Quick qus : Did you import all the tables from old one  or you import entire db.

If you import an entire db,you need to change db name in sites/default/sqlconf.php

If you import all table,it must have data and table structure from previous one.

please make sure the needs.and let me know.

Naina
emr@capminds.com
www.capminds.com

midomalah wrote on Thursday, January 03, 2013:

Thank you for your help … The problem was solved :slight_smile: :slight_smile: