Dear all, I appreciate help with this issue. I am n eye doctor who installed xampp and openemr, which ran smoothly on a laptop. However, I installed it again on a desktop at the clinic, but could not get mysql to run from the xampp control. it gave this message:
MySQL Service detected with wrong path
12:32:32 PM [mysql] Change XAMPP MySQL and Control Panel settings or
12:32:32 PM [mysql] Uninstall/disable the other service manually first
12:32:32 PM [mysql] Found Path: “C:\Program Files (x86)\MySQL\MySQL Server 5.0\bin\mysqld” --defaults-file=“C:\Program Files (x86)\MySQL\MySQL Server 5.0\my.ini” “MySQL”
12:32:32 PM [mysql] Expected Path: c:\xampp\mysql\bin\mysqld.exe --defaults-file=c:\xampp\mysql\bin\my.ini mysql
The other mysql belongs to another software ( a digital camera attached to slitlamp), which I must keep.
I tried stopping the other mysql by configuring it to start only manually and disabled it for the timebeing, but still getting the same message. Also I changed the port for xampp mysql to 3307 instead of the 3306. Still nothing.
When installing a new OpenEMR xampp it is workable if you rename any older version(s) installed on the same computer. Something like XXAMP directory, this also excludes the Mysql directory what xampp is looking for when installing a new xampp version.
There is a great video and lot of explanation in the Xampp community, to solve your kind of problems.
ury
After the install you can rename the original again with the correct name. But the new version needs to have a different directory/name. Localhost needs to find the correct version for the correct MySQL database. It was advised to not install like a server and don’t start as a Service. Use Control pannel, in the HELP of controle pannel there are also some good advises in the different parts of starting Apache, MySQL, Mercury and Tomcat.
fsgl: thanks, I did what you suggested, not much luck.
Peter: I am not sure regarding the instructions, a bit complicated for me.
eventually, I renamed the camera’s mysql into something like myesql, then used a flash drive as fsgl suggested, and it worked. Somehow, the camera software built a new database and created a different folder for the original mysql. Everything working fine, but I am not sure if conflict will arise again. Thank you both for your help.