there are quite a few threads on here about this topic ... just look at these examples:
Database synchronization between dev/staging and production
I would also recommend you read [Mark Jaquith's](http://markjaquith.wordpress.com/2011/06/24/wordpress-local-dev-tips/} post on Local and Dev Tip's
Damien