How to copy user_nicename value into user_login

Run the following SQL query in PHPMyAdmin or similar.

UPDATE wp_users SET user_login = user_nicename;

wp_users is the table for users (make sure it matches yours)

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