MySql database from usb stick
When you start the MySQL Server, you can specify --datadir, so you could probably script something to get MySQL to use the data on the USB stick.
If you're doing some kind of light development in this way, I'd recommend you use sqlite rather than mysql. YOu can simply copy the file around and not worry about the database. IF you have a database abstraction layer, this can be done quite easily.