title: I can't export/import database from PhpMyAdmin properly
body: <p>I have exported my database and when I want to import the same database it dives me the following error message : #1046 - No database selected . When I  open the export file with notepad++ I see that there is no line "CREATE DATABASE database_name" or "USE DATABASE database_name"  so I type it. When I try to import the edited exported file again it gives me the following error message:</p>
  
  <p>1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'USE messagesDB</p>
  
  <p>Here is my export file code:</p>
  
  <p><a href="http://pastebin.com/PPndRAv4" rel="nofollow">http://pastebin.com/PPndRAv4</a></p>