The second one is using "mysql" in command line, this method is the one I prefer. That way you only have to worry about one application, not three (Apache, PHP & MySQL). And it's therefor not much that can go wrong.
The last on is using yet another 3rd party app. This one i called BigDump. Many people have used it, and it worked for them. To me, and my 1.6GB database it didn't. But with only 15MB to handle it should be no problem. Give that a shot before trying to do it in command line, which I soon will explain.
To use bigdump just place the SQL file and bigdump.php in your htdocs folder, and do the needed changes to bigdump.php. Most of the variables are greatly explained, so that shouldn't be any problem. Then run bigdump.php in your web browser, and it should take care of the rest.
Using mysql in command line is a bit more complicated.
To make the process a bit easier, copy your database file to C:\xampp\mysql\bin\.
Type "cmd" in Start->Run (Win+R), then run the following commands
cd c:\xampp\mysql\bin
mysqlimport --user=user_name --password=password database file_to_import.sql
Your database should now be fully imported, if you don't get any errors during the last step.
To rename the database you can do this in PMA. Select the database you wish to rename, then select the "Operations" tab. There should be a field saying "Rename database to:", then just type in the new name. You should do this step before importing the backup, just to save some load.
The reason why your public host just have one single file, and localhost has three, is because the database at your host is running on the InnoDB engine, while localhost is on MyISAM. You have the option to choose between those two when creating a table.
-Martin





Contributor


















