Redirect user to cart page when add to cart button is clicked

In Woocommerce Settings
Go to > Products, Tick Add to card behavior Redirect to the cart page

Woocommerce setting screen

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