What is the easiest way to transfer a MySQL database's structure as well as all of its data to another machine??

I have a database that I have been using locally, and would like to use it on my hosted website but do not want to have to manually build and re-enter everything.

There must be an easy way to do this?!