Here is how I did it:
- Re-run the installer and install with MySQL into a different folder. (These instructions assume
c:\xampp2
) - After the installation finishes, move the mysql directory from the new install into the old install. (I moved
c:\xampp2\mysql
toc:\xampp\mysql
) You can then delete the second installation folder. - Be sure xampp is not running and edit
c:\xampp\xampp-control.ini
, looking for the[EnableModules]
section. SetMySQL=1
. - Restart xampp. The MySQL buttons should be enabled. Click the Config button next to MySQL and edit the
my.ini
file. Do a search and replace, changing all instances ofxampp2
toxampp
.
Now you can hit start, and MySQL should start up. Note these instructions assume c:\xampp is your desired install location, adjust accordingly.
Impactos: 0