We have installed OpenEMR 4.1.1 and 4.1.2 at four sites and on a couple of development servers using MariaDB 5.3.3 and everything seems to be working fine. Some have been running for a few weeks.Getting MariaDB installed on CentOS 6.4 was a little tricky and if there is any interest I’ll post the steps.
We typically install lighttpd or nginx rather than apache and both are fine.
Similar steps are available for other distributions
Here are the commands to run to add MariaDB to your Ubuntu system:
sudo apt-get install software-properties-common
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xcbcb082a1bb943db
sudo add-apt-repository ‘deb http://ftp.osuosl.org/pub/mariadb/repo/5.5/ubuntu raring main’
Once the key is imported and the repository added you can install MariaDB with:
sudo apt-get update
sudo apt-get install mariadb-server
See Installing MariaDB .deb Files for more information.
I used the window installers to setup MariaDB on windows.
My experience is that MariaDB does work as a “drop in” replacement for MySQL.
I’m not sure these instructions are something that should go on OpenEMR’s wiki though. It’s not something that’s specific to OpenEMR. I worry about the issue of keeping such a wiki entry up to date if MariaDB changes things.
I tend to agree with you Kevin. Maybe the fact that MariaDB has been tested and is running in production should be added someplace. I have not taken the time to investigate adding to the wiki or I would do it.
Want to also add that one of the installs has over 240,000 encounters that we converted from the previous EMR software. System performance thus far has not been an issue at all except during the initial conversion. We did not think it would be but being an unknown (to us anyway) we did not know what to expect. We have other mysql/mariaDB installs running non-OpenEMR software with several million rows in charge and payment transaction tables and have not seen any issues so we were fairly confident OpenEMR would perform in a similar manner. Anyway if anyone else is contemplating large numbers of encounters performance should be fine with the right server setup.
fsgl: all of the problems that we encountered with MariaDB were getting it installed. Once installed there seems to be no issues with OpenEMR at this point. Thanks for the info on the wiki… when time permits I’ll take a look. The user we had in mind for the eye forms is still looking for the perfect EMR