1. Using the tutorial I mentioned, if one actually follows it exactly, does an export of the specified database, not all databases in the account, and thus the CREATE DATABASE and USE statements will not be added to the exported file.

2. Notepad, being a MS windoze native app, commonly damages files. It's a well known fact that Notepad is ill-suited for working with files used on webservers, especially if the server runs the more suitable linux operating system.
The free Notepad++ application is much better suited to working with web files, and has the added benefit of giving you line numbers and syntax highlighting to quickly spot self-generated errors before they become problems.