Start by creating a mysql db. Call it whatever you like. Then select the db in phpMyAdmin and go to the tab SQL. There you will see a text field with somethin like Run SQL query/queries over it. Paste your db code here that you have wrote and press Go.
You will then be informed if everything went as planed or of there where errors in the code.