When I run:
java -jar mwdumper.jar -–format=sql:1.5 enwiki-latest-pages-articles.xml.bz2 | c:\wamp\mysql\bin\mysql -u wikiuser -p wikidb
I get:
Exception in thread "main" java.io.FileNotFoundException: -ûformat=sql:1.5 (The system cannot find the file specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(Unknown Source) at java.io.FileInputStream.<init>(Unknown Source) at org.mediawiki.dumper.Tools.openInputFile(Unknown Source) at org.mediawiki.dumper.Dumper.main(Unknown Source)
Please help!
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Trent Mera wrote:
When I run:
java -jar mwdumper.jar -–format=sql:1.5 enwiki-latest-pages-articles.xml.bz2 | c:\wamp\mysql\bin\mysql -u wikiuser -p wikidb
I get:
Exception in thread "main" java.io.FileNotFoundException: -ûformat=sql:1.5 (The system cannot find the file specified) at
You seem to have typed some kind of long-dash character instead of a regular hyphen.
If you copy-pasted it from a wiki page or web page, the page may have a bad character in it, so please check.
- -- brion vibber (brion @ pobox.com)
wikitech-l@lists.wikimedia.org