Posts made by Martin Dougiamas

Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
The error message is telling you what is wrong: "The database details specified in config.php are not correct"

I'm guessing that your MySQL username is not actually "username". smile
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
You probably turned debugging turned on in the admin's "Configure variables" page. Do not do this unless (as it says next to the setting) you are a developer and know what you're doing. It should have defaulted to being off.

Basically you've run into some harmless bugs on the site settings screen (that have been fixed since 1.0.8.1)