Ok i got this error a million times. One thing you could try doing is downloading eqnpc from
www.edwardpinniger.bctalk.net/eq/eqnpc.zip
and try using either the files out of the output folder, or put all of the world data into the input folder and converting them. That solved my problem, another thing, which version mysql are you using? A lot of stuff happens with version 4, if you are using version 4 try using 3.23. if that still doesn't work. Try downloading version 1 of Drawde's world data, use address above just cut off eqnpc.zip