Only allow site url in text field using wp_kses/wp_filter_nohtml_kses?

Only allow site url in text field using wp_kses/wp_filter_nohtml_kses?

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