https://bugzilla.wikimedia.org/show_bug.cgi?id=18328


Grozny <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]




--- Comment #13 from Grozny <[email protected]>  2009-07-25 20:49:01 UTC ---
I've just tested this version of mwdumper and it correctly produced sql file (I
tried both 1.4 and 1.5 formats).
Perhaps there's a syntax error in your invokation code.
It should be --format=sql:1.5, not --format=sql1.5

But I got another problem.
After generating sql file from xml one this way
java -jar mwdumper.jar --format=sql:1.5 enwiki-20090713-pages-articles.xml >
import20090713.sql
I import import20090713.sql into mysql database, but I only get 2,700,000 rows
in page and revision tables and 2,700,937 rows in text table.
While it should be 8801763 pages according to
http://download.wikimedia.org/enwiki/20090713/



(In reply to comment #12)
> I downloaded the jar file specified above and there seems to be additionally
> changes to the file.  I cannot get it to output SQL for schema 1.4 or 1.5.  I
> downloaded the file twice and ran it against the enwikipedia dump and it
> completed successfully.  However when I looked at the file it was XML, not 
> SQL.
>  I then downloaded the production version of the mwdumper.jar,
> http://download.wikimedia.org/tools/mwdumper.jar, with the same command line
> and it died in due to the bug, but it also put out SQL as requested.  For
> clarity the command line was java -jar mwdumper.jar --format=sql1.4
> --output=file:test.sql enwikipedia-20090708.xml.  Am I missing something or is
> there an issue in the program with processing flags for SQL output?  
> 


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to