Trying to select 1 item from an array

You could just use:

echo get_field('consultant_name')['ID'];

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