in classic editor, is there a way to add media lib files to the content search when creating a link?

in classic editor, is there a way to add media lib files to the content search when creating a link?

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