how to access 2nd Mysqli Database from different server for wordpress

You can create a new instance of the wpdb object. It is explained in many posts like this one: Using wpdb to connect to a separate database

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