1: Shut down or exit the XAMPP server from the Xampp control panel.
2: Download the ZIP version of MariaDB
3: Rename the xampp / mysql folder to mysql_old.
4: Unzip or Extract the contents of the MariaDB ZIP file to your XAMPP folder.
5: Rename the MariaDB folder, naming something like mariadb-5.5.37-win32 to MySQL.
6: Rename xampp / mysql / data to data_old.
7: Copy the xampp / mysql_old / data folder to xampp / mysql /.
8: Copy the xampp / mysql_old / backup folder to xampp / mysql /.
9: Copy the xampp / mysql_old / scripts folder to xampp / mysql /.
10: Copy mysql_uninstallservice.bat and mysql_installservice.bat from xampp / mysql_old / to xampp / mysql /.
11: Copy xampp / mysql_old / bin / my.ini to xampp / mysql / bin.
12: Edit xampp / mysql / bin / my.ini with a text editor such as Notepad. Find skip-federated and add in front of it (on the left) to comment on the line if it exists. Save and exit the editor.
13: Starting XAMPP.
Note If you cannot force mysql to start from the Xampp control panel. Add this skip-grant-tables statement anywhere in the xampp / mysql / bin / my.ini file
14: Run xampp / mysql / bin / mysql_upgrade.exe.
15: Shutting down and restarting MariaDB (MySQL).
If mysql is still not running, follow these steps Note (! Important)
Note : mysql error log file: c: \ xampp \ mysql \ bin \ mysqld.exe: unknown variable 'innodb_additional_mem_pool_size = 2M', for example, delete or comment on this in the my.ini file in this xampp / mysql / bin / my path . ini .
Help on this link.
Sumit source
share