Migrating Widget Settings in WordPress

Solution:

 

WordPress stores widget options – and some plugins and themes also store their options – as serialized data, and so you have to be more careful than a full find/replace of the URLs.

Much more comprehensive answer and some other ways to do move databases and retain serialized data: https://wordpress.stackexchange.com/questions/9076/why-is-my-database-import-losing-text-widget-data