Woocommerce Large Variations Shows Out of Stock Items [closed]

I was able to fix the issue by simply adding the following to functions.php

add_filter( 'woocommerce_ajax_variation_threshold', 'wc_ninja_ajax_threshold' ); 
function wc_ninja_ajax_threshold() {
    return 1000;
}

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