you local testing server database and the live database are 2 separate entities and are not connected.
your local testing server will not contain the same data as the live server. the idea is that you test the pages on your local site using dummy data, then upload the pages to the live site where the live data is.