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

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM