How can change 12000 user role into contributor by sql [duplicate]

Manually change 1 user to a contributor then view their wp_capabilities entry in wp_usermeta table.

Update the rest of the table to set wp_capabilities to this value for the 12,000 users.

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