I\'m trying to upgrade mysql
in xamp
. I\'m using laravel
which requires mariaDB v10.2.2
. So I downloaded the latest
To Upgrade MySql included in XAMPP (I did it on a Windows system):
- Rename your Mysql directory to some other name.
- Download the .msi file from the MariaDB link https://downloads.mariadb.org/.
- Run .msi. Change the install directory to your Mysql location under XAMPP.
- After completion, copy the old my.ini from the original mysql/bin directory to your new mysql/bin directory.
- You should be able to start Mysql from the XAMPP control panel.
I found the solution here http://www.mynotebucket.com/update-mysql-under-xmpp/
Simply remove this line from my.ini
:
innodb_additional_mem_pool_size = 2M
It was "deprecated in MySQL 5.6.3, are removed in MySQL 5.7.4."
(If my notes are correct, it has been "unused" since 4.1.0!)
What I did and saved my life:
Rename xampp/mysql/data to xampp/mysql/anyname_data (or any name of your choice)
Create a new folder and name it > data in xampp/mysql
Copy all your xampp/mysql/backup files and folder to newly created xampp/mysql/data folder
Now which previous database you want to work with copy that folder from xampp/mysql/anyname_data to newly created xampp/mysql/data folder
Restart Xampp with or without "run as administrator"
Amazingly! your database is intact in phpmyadmin.
Thank you very much!