From your last post it's pretty clear that you skipped something. When I was new here I had roughly a zillion problems, most of which I'm sure everyone goes through the first time around. It's nothing to worry about, but getting into something like this warrants thorough examination of guides and really putting in the time to try to understand what it is that you are doing.
Tell you what. Try this.
Go into MySQL and type:
Code:
GRANT ALL PRIVILEGES ON *.* TO 'root'@'localohst' IDENTIFIED BY 'PASSWORD' WITH GRANT OPTION;
replacing PASSWORD with whatever your mysql password is.
That ought to solve the problem with the database connection.