Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. if ( ! $this->conn_id)
  2. {
  3. log_message('error', 'Unable to connect to the database');
  4.  
  5. if ($this->db_debug)
  6. {
  7. $this->display_error('db_unable_to_connect'); //< line 124
  8. }
  9. return FALSE;
  10. }
  11.  
  12. $db['default']['hostname'] = 'localhost';
  13. $db['default']['username'] = 'root'; // i have set privileges on phpmyadmin (WAMP)
  14. $db['default']['password'] = 'root'; //set the username and password into 'root'
  15. $db['default']['database'] = 'qb_architectdb'; // the name of my database
  16. $db['default']['dbdriver'] = 'mysql'; // i tried to change to 'mysqli' nothing happened
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement