I have noticed that you have entered in your login information for the database a couple of times, the first Cut and Paste below is from your DbConnector.php file
// Get the main settings from the array we just loaded
$host = $settings['dbhost'];
$db = $settings['dbname'];
$user = $settings['dbusername'];
$pass = $settings['dbpassword'];
You need to leave the dbhost, dbname, dbusername and dbpassword the way I have it writen above, this script calls this information from SystemComponents.php and automatically enters it in.
Which brings me to my next part and that is the information you entered into SystemComponents.php. The first part $settings['dbhost'], $settings['dbusername'] etc need to be writen like that, you don't change the dbhost etc to your information, you only change what is after the =, where I have ****, this is where you enter your information
// Database variables
$settings['dbhost'] = 'localhost';
$settings['dbusername'] = '****';
$settings['dbpassword'] = '****';
$settings['dbname'] = '****';
Hopefully this works for you, I will check back to see if this helped