Cannot save values to custom fields for variations on Woocommerce 2.4.6

Fixed it, I think. Looks like I botched this line, and forgot to add in $variation. Now to figure out how to get this to display dynamically on the front end so it changes with each variation…

function variable_fields( $loop, $variation_data, $variation ) {

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