XAMPP: Difference between revisions

From LemonWiki共筆
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
Roll back to the old version of [http://www.mysql.com/ MySQL] at [http://www.apachefriends.org/en/xampp.html XAMPP]
Roll back to the old version of [http://www.mysql.com/ MySQL] at [http://www.apachefriends.org/en/xampp.html XAMPP]


== Modify the configuration of MySQL ==
== Modify the configuration of MySQL(optional) ==
modify the path of basedir, datadir, Server in  %windir%\my.ini
modify the path of basedir, datadir, Server in  %windir%\my.ini
<pre>
<pre>

Revision as of 23:50, 28 September 2006

Roll back to the old version of MySQL at 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