Xampp mysql无法启动的解决方案(转)

时间:2022-10-26 07:46:54

如果出现mysql 无法启动表明在安装xampp 前已经安装了mysql,造成mysql服务无法启动。

[mysql] MySQL Service detected with wrong path
23:19:41 [mysql] Change XAMPP MySQL and Control Panel settings or
23:19:41 [mysql] Uninstall/disable the other service manually first
23:19:41 [mysql] Found Path: "C:\Program Files\MySQL\MySQL Server 5.0\bin\mysqld-nt" --defaults-extra-file="C:/Program Files/MySQL/MySQL Server 5.0/my.ini" MySQL
23:19:41  [mysql] Expected Path: d:\xampp\mysql\bin\mysqld.exe --defaults-file=d:\xampp\mysql\bin\my.ini mysql

为了把原来的mysql服务改成自己的mysql服务区需要修改mysql的执行文件路径

打开注册表

cmd 

regedit

找到

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MySQL] 中的ImagePath 修改成你当前的mysqld的执行目录

类似:"D:\xampp\mysql\bin\mysqld"

重新启动服务器成功!

http://www.kuitao8.com/20141209/3326.shtml

 https://bitnami.com/stack/xampp



Uniform Server

The Uniform Server is a WAMP solution that allows you to run a web server on any Microsoft Windows OS based computer. It is small and mobile to download or move around and can also be used or setup as a production/live server.

Xampp mysql无法启动的解决方案(转)

PHP MiniServer

The miniServers are separate servers in their own right however they are based on the Uniform Server control architecture. The Uniform Server PHP MiniServer provides a graphical user interface to the PHP 5.4.* built-in web server.

Xampp mysql无法启动的解决方案(转)



Windows: Apache + MySQL + PHP & more.
The Uniform Server is a free lightweight WAMP server solution for Windows. Less than 24MB, modular design, includes the latest versions of Apache2, Perl5, PHP (switch between PHP53, PHP54, PHP55 or PHP56), MySQL5 or MariaDB5, phpMyAdmin or Adminer4. No installation required! No registry dust! Just unpack and fire up!

http://www.uniformserver.com/

 

 

AppServ
The easy way to configure Apache, PHP, and MySQL!

Description
AppServ is an merging open source software installer package for Windows and Linux.

 

https://sourceforge.net/projects/appserv/?source=top3_dlp_t5