Is there a way to add a custom text + link above search results for different searches?

You can do it with if-condition, example:

if( get_search_query() == 'athletics' ){
    echo 'Visit our athletics site';
}

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