on your db.ini make sure there arn't any spaces after the username and password. I had that problem before, also you will get that error if your IP doesnt have access to the server.... did you run the following query?:
Code:
GRANT ALL PRIVILEGES ON *.* TO Username@localhost IDENTIFIED BY 'Password' WITH GRANT OPTION;
make sure you change Username@localhost and Password to what you have in your db.ini.
not having access to your databse is kinda a major problem!!!