Well, I followed your directions exactly, substituting for the dbuser and password what I set up on MySQL manager. Still get the same error. I tried all variations of the username, db name, etc. Tried it without creating a database first in MySQL Manager, with a database, with 777 permissions on the sitebar folder, on the public_html folder. Is there something simple that I'm missing?
1. Upload files to public_html/sitebar
2. Change permissions on sitebar directory to 777 (tried with 777 on public_html too)
3. Create username/password in MySQL manager (tried with db created and user associated too)
4. Go to http://mysite.com/sitebar/sitebar.php
5. Enter info:
Host: localhost (also tried mysite.com)
Username: cpnlname_username (also tried without the cpnlname_)
Password: my chosen password (tried same info as cpanel login)
Database name: sitebar
6. Click creat database and get the access denied error either:
Thank you all for your help so far. I hope you aren't getting as frustrated with me as I am with this script.