How to get all custom fields with some prefix in key?

Meta function don’t support wildcards in keys. You could probably go through SQL, but it would probably be easier to use get_post_custom() to retrieve whole meta and pick out items you need. It is heavily cached inside so it would probably be more robust that custom solution as well.

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