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

如果出现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.

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.



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

 

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值