- Shutdown MySQL in your XAMPP server from Xampp control panel or mysql under Services if it was added.
- Download the ZIP version of MariaDB (https://downloads.mariadb.org/) - you may download the winx64.zip if you are also switching to x64 variant of mariadb
- Rename the xampp/mysql folder to mysql_old
- Unzip or Extract the contents of the MariaDB ZIP file into your XAMPP folder
- Rename the MariaDB folder, called something like mariadb-10.3.14-winx64, to mysql
- Rename xampp/mysql/data to data_temp
- Copy the xampp/mysql_old/data folder to xampp/mysql/
- Copy the xampp/mysql_old/backup folder to xampp/mysql/
- Copy the xampp/mysql_old/scripts folder to xampp/mysql/
- Copy mysql_uninstallservice.bat and mysql_installservice.bat from xampp/mysql_old/ into xampp/mysql/
- Copy xampp/mysql_old/bin/my.ini into xampp/mysql/bin
- Edit xampp/mysql/bin/my.ini using a text editor like Notepad
Find skip-federated and add a # in front (to the left) of it to comment out the line if it exists
Find innodb_additional_mem_pool_size=2 and add a # in front (to the left) of it to comment out the line if it exists
Add this skip-grant-tables statement anywhere in xampp/mysql/bin/my.ini file Save and exit the editor
- Start-up XAMPP
- Run xampp/mysql/bin/mysqlcheck --repair --all-databases
- Run xampp/mysql/bin/mysql_upgrade.exe
- Shutdown and restart MySQL (MariaDB)
No comments:
Post a Comment