title: codeigniter A Database Error Occurred
body: <p>Can someone help me? </p>
  
  <p>I am a beginner and trying to make wearing CodeIgniter authentication, but when I try to make an error like this</p>
  
  <p>A Database Error Occurred</p>
  
  <pre><code>Error Number: 1046
  </code></pre>
  
  <p>No database selected</p>
  
  <pre><code>SELECT * FROM (`user`) WHERE `user_username` = 'amanda' AND user_passwordMD5("12345") =
  
  Filename: C:\xampp\htdocs\codeigniter\system\database\DB_driver.php
  
  Line Number: 330
  </code></pre>
  
  <p>thanx</p>