Do you have phpmyadmin any chance? If so, all you can do is look for "Or Location of the textfile :" there should be browse button right next for you to upload .txt or .sql then upload it, it ll take care of everything for you.
If not install phpmyadmin yet, I suggest you to try
Tutorial: How to make a reliable database backup by TECK for bit more information on that.