Basically, just go into the directory where you have your threads65.sql file. At that point you'd type this:
mysql threads65 < threads65.sql -u username -p
Change username to your database username. It will then prompt you for your password, and then it will import your threads65.sql file.