The line that says
$CFG->dbpass = "; // your database password
probably got corrupted.
Can you check whether you have 2 single quotes in that line? It looks like you have 1 double quote...
(And if you don't want to ruin your eyes trying to debug single quotes / double quotes in config.php files, the best way to go is certainly http://www.goohio.com/moodle )