title: Mapping Mongodb ObjectId to Mysql ID Field
body: <p>I have an mongodb based application which use 12 byte objectid as primary key and as user id, and I have another Django app using Mysql, and need to inherits the user id generated from mongodb (inherit means not create new id but just store id which come from mongodb, and use it as a foreign key anywhere possible). </p>
  
  <p>What's the best solution of,</p>
  
  <ol>
  <li>what data type to be used to express Mongo Object Id in mysql? binary(12)?</li>
  <li>considering using Django, any extra plugin needed for using binary(12)?</li>
  <li>or any solution different from the above?</li>
  </ol>
  
  <p>Thanks.</p>