How to show Woocommerce add to cart form for variable product on custom location [closed]

I figured out this.

Adding ‘woocommerce_variable_add_to_cart()’ function prints the variable product’s add to cart form.

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