Do you need to move the data as well? You can do a mysqldump command. This will dump all data as well as the table structures.
The command is as follows:
./mysqldump database > /path/filename
I use .sql as the extension, just to discren between files.
To load the data back into another server, the command is as follows:
./mysql database < /path/to/file
You should create the database first before you execute the command...or edit the dump file to create the database for you.