Configuring XCP for non-default MySQL instance
Posted: 17. December 2010 07:01
Hi,
I need to run a portable version of XAMPP in an environment which already has MySQL running as a service which cannot be stopped. I've set MySQL to use a different port and socket name in my.ini and set those as the defaults for mysql and mysqli in php.ini, but the XAMPP Control Panel is giving me problems.
When I open XCP, it shows that MySQL is already running, as a service. It is detecting the copy that is already on the computer, and since that cannot be stopped I can't start XAMPP's version of MySQL via XCP.
I've already created a xampp.ini file to set the non-standard default port, but it has not helped.
I need a way of making the MySQL button in XCP look for XAMPP's copy of MySQL, which will be running as a process (not a service) on a different port with a different socket name. (I'm not sure if the socket name is important - I changed it in case it helped to avoid conflicts)
Any ideas? I'm not averse to poking the program with a hex editor if possible to fix it like that...
I need to run a portable version of XAMPP in an environment which already has MySQL running as a service which cannot be stopped. I've set MySQL to use a different port and socket name in my.ini and set those as the defaults for mysql and mysqli in php.ini, but the XAMPP Control Panel is giving me problems.
When I open XCP, it shows that MySQL is already running, as a service. It is detecting the copy that is already on the computer, and since that cannot be stopped I can't start XAMPP's version of MySQL via XCP.
I've already created a xampp.ini file to set the non-standard default port, but it has not helped.
I need a way of making the MySQL button in XCP look for XAMPP's copy of MySQL, which will be running as a process (not a service) on a different port with a different socket name. (I'm not sure if the socket name is important - I changed it in case it helped to avoid conflicts)
Any ideas? I'm not averse to poking the program with a hex editor if possible to fix it like that...