XAMPP: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| Line 2: | Line 2: | ||
== Modify the configuration of MySQL == | == Modify the configuration of MySQL == | ||
modify the path of basedir, datadir, Server | modify the path of basedir, datadir, Server in %windir%\my.ini | ||
<pre> | <pre> | ||
[mysqld] | [mysqld] | ||
Revision as of 02:06, 22 September 2006
Roll back to the old version of MySQL at XAMPP
Modify the configuration of MySQL
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