How to select the first product variant as a default?

You can use Woo-commerce option to select default variation in front-end. Please see attached file:
These are the attributes that will be pre-selected on the frontend.

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