Yes, its possible to rebuild the MySql data base with the old directory.
Just temporarily rename the current /Applications/AMPPS/var folder to any other name and copy the old "var" folder in /Applications/AMPPS, now you should be able to rebuild the database.