How to modify “[Product] has been added to your cart” in WooCommerce?

add_filter( 'wc_add_to_cart_message', 'my_add_to_cart_function', 10, 2 ); 

function my_add_to_cart_function( $message, $product_id ) { 
    $message = sprintf(esc_html__('« %s » has been added by to your cart.','woocommerce'), get_the_title( $product_id ) ); 
    return $message; 
}

The above code will help you to change the message. Since by knowing the hook wc_add_to_cart_message you can improve the code

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