mysql2mongodb icon indicating copy to clipboard operation
mysql2mongodb copied to clipboard

Converts MySQL tables to mongoDB collections

mysql 2 mongoDB convert script

Helps convert mysql tables into mongoDB collections.

Use

php mysql2mongodb.php localhost root pass dbname [table]

If table is not set, will convert all tables in database.

Requirements

  • PHP 5.x
  • mongo pecl extension

Known issues

TODO

  • Rewrite using a nice console library.