Upgrade.php upgrade "DB Error: Access denied" (2.4.6 to 2.4.8)

Hi
I’m trying to upgrade from 2.4.6 to 2.4.8 using the full package method. The upgrade is failing at
the database upgrade step, with “DB Error: Access denied for user ‘XXXXXXXXXXXXXXXX’@‘localhost’ (using password: YES)”. The correct database name and password are stored in config.inc.php
The username (and database name too for that matter) is 18 characters long, but only the first 16 characters are included in the error message.
Are there any options for fixing this (apart from changing the username)? This is the fourth upgrade we have done - I’m wondering why the length of the username was not a problem in the past.
Thanks.

Hi,

which version of MySQL are you using?
Prior to 5.7.8 user names could only be 16 chars long see
http://dev.mysql.com/doc/refman/5.7/en/user-names.html

1 Like

We are using mysql 5.0… Thanks for pointing this out. A closer look revealed that the problem was in fact in the config file. The upgrade was successful. Thanks.