Change user slug in Buddypress

Place the following code in your theme’s functions.php file:

add_filter( 'bp_core_enable_root_profiles', '__return_true' );

I hope this helps.

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