wordpress how to query wp_options table

All of database querying is handled by global $wpdb object. So when you load WP core you have acess to it and all its methods for queries.

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