i’m having the same issue. correct username, password, version of PHP, MySQL, etc, but no access. i created my database using the tool within cpanel, and it checks clean. for some reason wordpress cannot access it..
btw, i’m hosted through dragon networks and using cpanel, if that helps anyone understand my specific issue. thanks.