title: How can I use MySQL on a MAMP set up with CodeIgniter?
body: <p>In my database.php file, I have</p>
  
  <pre><code>$db['default']['hostname'] = 'mylocaldomain:8889';
  $db['default']['username'] = 'myusername';
  $db['default']['password'] = 'mypassword';
  $db['default']['database'] = 'mydb';
  $db['default']['dbdriver'] = 'mysql';
  </code></pre>
  
  <p>I continually, get an error saying that it can't connect. Any help?</p>