OSIFY

Upgrade WampServer 2 to 2.2 or latest without losing data and less config

WampServer is a Windows web development environment. It allows you to create web applications with Apache2, PHP and a MySQL database. I found WampServer is an easy tool for development PHP app in Windows.

But since, I have to upgrade my development environment to match my production server for PHP 5.3.x and MySql 5.5.x, WampServer installer is not easy at all to do upgrading stuff for us easily.

Before I used WampServer 2.0d and now I’m going to upgrade to WampServer 2.2d which is not so different but I have already more than 20 virtual host configuration on my local machines and especially mysql databases.

http://www.wampserver.com

So I take following steps to make this happen without losing any databases and has less configuration after the new installation, here are they:

Known issues with WampServer2.2D in my case

Issue 1:  Error with log file size which is different from your previous config / data

InnoDB: Error: log file .\ib_logfile0 is of different size 0 10485760 bytes
InnoDB: than specified in the .cnf file 0 5242880 bytes!

Issue 2: I can’t create mysql database user with mysql gui tool (MySQL Administrator)

Of course, it is the old tool (which is no longer support), it was working with my previous mysql version but mysql 5.5.x it doesn’t, we can’t give any privilege to database user.

MySQL Workbench

 

It might help you as well. Good luck.