I have experienced related problems with phpmyadmin and .sql files - but when you say you can't make the tables using sql files, do you mean phpmyadmin returns an error? If so, what?
My problems had stemmed from bad "end of line" characters, so make sure that you don't have any weird invisible characters in your sql files.
G