title: Possible for PHP app built on top of codeigniter to connect to a MySQL AND a mongoDB database at the same time?
body: <p>I have a web application built in codeigniter and hosted with <a href="http://www.cloudcontrol.com" rel="nofollow noreferrer">cloudcontrol</a>. I use a normal MySQL database for all of my data persistance, and now I want to use a mongodb database in addition to the MySQL database.</p>
  
  <p>I want to use mongodb as a job queue to persist messages between my workers and my application servers. I've gotten the inspiration to do this from this tutorial: <a href="http://www.captaincodeman.com/2011/05/28/simple-service-bus-message-queue-mongodb/" rel="nofollow noreferrer">http://www.captaincodeman.com/2011/05/28/simple-service-bus-message-queue-mongodb/</a></p>
  
  <ol>
  <li><p>Is this possible (using two different types of databases simultaniously --  with/without hacking codeigniter, I would assume it is)</p></li>
  <li><p>Any tips for accomplishing this?</p></li>
  </ol>
  
  <p><strong>---- EDIT ----</strong></p>
  
  <p>I've included this library in my CI project:
  <a href="https://github.com/alexbilbie/codeigniter-mongodb-library" rel="nofollow noreferrer">https://github.com/alexbilbie/codeigniter-mongodb-library</a></p>
  
  <p>And when I attempt to load it via: <code>$this-&gt;load-&gt;library('mongo_db');</code>
  I run into this:
  <img src="https://i.stack.imgur.com/43Cyi.png" alt="enter image description here"></p>
  
  <p>I'm not sure how I can get mysql and mongodb working together...</p>
  
  <p><strong>---- EDIT ----</strong></p>
  
  <p>Nevermind my above question, I improperly set up the config file and confused the error...</p>