This came about when I wanted to move the site off of one computer and onto my laptop. I'm not extremely good at these types of things, so what I did was install WAMP on my laptop, then I copied over the mysql/data/ folder for the correct side; copied over the correct site inside the root and copied over the correct moodle data folder.
I also managed to add the database to the laptop, but I get this error... any idea what I should do?
If you need more info let me know and I can provide it.
On a slightly related note, did I do things the correct way? If I didn't, I can re-do them on my laptop and maybe avoid this issue all together.
If you first install complete Windows package and get moodle running (or use some other method to install new moodle) you may just backup courses with old moodle backup link, upload/copy those backups and restore to new courses on your new laptop install. It is easy.
An other way is to make a backup (mysql dump or export with phpmyadmin) and import this sql file to your new database + copy moodledata folder to your new laptop install (with read/write permissions) + check config.php . Before this you need to check (from sql file with notepad) that all links are correct.