I am trying to import a large MySQL dump file and am getting a consistent error on a certain line 149,351 (out of 4207442). I would like to see what that line is.
The best way I have found to do this is like this:
head -149351 dump.sql | tail
However, this is very slow. I tried loading the file in vi
, but it wasn't able to handle a file that big. I am on Windows XP and have cygwin.