X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=docs%2Findex.rst;h=e9c3631699c7b36bb1f52cdb9744167139f1b479;hb=366adfd33e858aabc683f973bc1b2a08c2f5e58f;hp=01e8420688098a43f00ecf97894279e3d4ce3e53;hpb=16c2bcbc29f78bf54fb7ffee9577d1d88216ebbc;p=sqlconvert.git diff --git a/docs/index.rst b/docs/index.rst index 01e8420..e9c3631 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -6,17 +6,50 @@ Welcome to mysql2sql's documentation! ===================================== -Contents: +This is mysql2sql, a mysql to sql converter. It is primary intended to +convert mysqldump (especially with extended INSERT syntax) to standard +SQL to load at least to PostgreSQL or SQLite. -.. toctree:: - :maxdepth: 2 +It uses `sqlparse `_ to parse +SQL. +The program is in its initial phase and currently cannot do much. + +.. highlight:: none + +Command line +------------ + +mysql-to-sql.py +~~~~~~~~~~~~~~~ + +Usage:: + + mysql-to-sql.py [-i infile] [-o outfile] + +Options:: + + -i, --infile infile Input file, stdin if absent + -o, --outfile outfile Output file, stdout if absent Indices and tables ================== * :ref:`genindex` -* :ref:`modindex` +* ``_ * :ref:`search` + +Credits +======= + +Created by Oleg Broytman . + +Copyright (C) 2016 PhiloSoft Design. + + +License +======= + +GPL.