You could make sql dump of your MySQL database, then open it in Your favorite editor and use find/replace to change old path with the new one. After that restore the database with the new .sql file. Don't forget to change VarDir option in site.ini.append.php .