Change WordPress Username maxmimum length

In WordPress 6.7, usernames are limited to 60 characters, and this value is hard-coded with no filter (source), so no proper way to change it.

Allowing more than 60 characters would mean changing core, which is bad practice.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)