title: Can't connect to external database with Codeigntier
body: <p>I want Codeigntier to connect to a MySQL database on another server (not localhost). How do I configure this in the config/database.php file?</p>
  
  <p>I set the hostname to the ip address with the proper username/password but it's not working.</p>
  
  <p>The error I get says:</p>
  
  <blockquote>
    <p>A Database Error Occurred: Unable to connect to your database server using the provided settings.</p>
  </blockquote>