XAMPP

From LemonWiki共筆
Revision as of 15:42, 10 February 2011 by Planetoid (talk | contribs)
Jump to navigation Jump to search

Roll back to the old version of MySQL at XAMPP(files included old versions of XAMPP)

Modify the configuration of MySQL(optional)

modify the path of basedir, datadir, Server in %windir%\my.ini

[mysqld]
basedir=C:/mysql_old
datadir=C:/mysql_old/data

[WinMySQLadmin]
Server=C:/mysql_old/bin/mysqld-nt.exe

Modify the path of MySQL service

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\mysql\ImagePath

  • original: "C:\Program Files\xampp\mysql\bin\mysqld-nt.exe" "--defaults-file=C:\Program Files\xampp\mysql\bin\my.cnf" mysql
  • old version: "C:\mysql_old\bin\mysqld-nt.exe" "--defaults-file=C:\mysql_old\bin\my.cnf" mysql

restart the MySQL service


Troubleshottings

  • Could not link to the localhost after executing the xampp_start.exe! [XAMPP Lite 1.6.3a]
    • Check the port (execute the file: xampp-portcheck.exe )! Port 80 was occupied by some softwares, such as
      • Skype
      • Gladinet Cloud Desktop
    • Check the AntiVirus software (ex: Pause the Nod32) and security settings!
  • Could not launch xampp (xampp_start.exe) after move the xampp files to new file location [XAMPP Lite 1.7.3]
    • solution: execute the file: setup_xampp.bat to relocate the xampp