how to get woocommerce product id by acf field in wordpress and display product

Use only $axy instead of 'terms' => array(var_dump($axy) ), ...
It will work, surly. Try it.

        'terms' => $axy,

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