This information is for advanced IT users only. If you need assistance with any of these steps, something does not go as expected, or you have errors, please Contact Open Dental support. Follow these steps to migrate Open Dental to a new server.
Required Steps Before Beginning
MariaDB or MySQL
- Verify what version of MariaDB or MySQL is running. When migrating, the same MariaDB or MySQL version will need to be on the new server as the old server. Newer installation of Open Dental will (installed after July 14th, 2021) will normally use MariaDB; older installs will use MySQL.
- See the How to Determine your Current Version sections on the MariaDB and MySQL pages to determine what version the database is using.
- If the MySQL Version is 5.6, users will first install 5.5 using the Open Dental Trial installer, then continue with the MySQL Upgrade to 5.6.
HL7 users should contact Open Dental support to schedule a server migration.
Make a backup of the original OpenDentImages folder (usually found at c:\OpenDentImages) and the database (usually found at c:\mysql\data and in a directory named opendental). See Backup Tool or Manual Backups.
Note: If the database structure is InnoDB, backup the entire data folder. Also have a backup copy of the my.ini file, usually located in C:\Program Files (x86)\MySQL\MySQL Server 5.5.
Migrate to a New Server
On the Old Server
- Stop the MySQL, OpenDentalService, and OpenDentalEConnector services.
- Disable the MySQL, OpenDentalService, and OpenDentalEConnector services to make sure workstations can no longer point to the older server.
- Change the Startup Type from Automatic to Disabled then click OK.
- Rename the OpenDentImages folder (e.g., "OpenDentImages_old_date"). This stops the sharing of the folder, which will prevent any workstations from accidentally storing images to the old location.
- Disable Port 3306 in Windows Firewall.
On the New Server
- Download the Trial Version.
If using MySQL, install the MySQL Trial Installer found at the bottom of the Trial Version page, under Troubleshooting.
- If the old server had MySQL 5.6, upgrade to MySQL 5.6 on the new server. Otherwise skip to the next step.
- Stop the MySQL Service.
- Put the copy of the database on the new server into the MySQL folder.
- The database is usually found at c:\mysql\data.
Note: Note: If the database structure is InnoDB users can rename the data folder and copy the old one into the mysql folder.
- Start the MySQL Service.
- Share and set full access on the newly-created OpenDentImages folder. See Share A to Z Folder for full instructions.
- Usually at c:\OpenDentImages.
- Put the copy of the OpenDentImages the folder migrated from the old server into the same directory as newly-created OpenDentImages folder, merging the folders.
- From within the OpenDentImages folder, right-click on setup.exe, then Run as administrator to install Open Dental.
- Once the installation is complete, open Open Dental (Run as administrator) and enter the new Server Name. Alternatively, it can be left as localhost. If needed, also enter MySQL user and password. See MySQL Security.
- Update the path to the OpenDentImages Folder.
- If the Data Paths window opens (Paths), make sure the paths point to the new server.
- If it does not open, in Open Dental, click Setup, Data Paths to ensure the paths point to the new server.
- Update the Update Server name
- In Open Dental, click Setup, Miscellaneous to ensure the Update Server is the new servers name.
- Open Port 3306 in Windows Firewall.
- Install the Open Dental Service. Many features in Open Dental utilize this service.
- Install the eConnector. Some features in Open Dental utilize this service, eServices require this service to function.
On Each Workstation
- Start Open Dental (Run as administrator).
- On the Choose Database window, enter the new server name.