Custom loop by url

You can customise the loop query to get results based on a search term – with $s being the search term;

<?php // Post Query
$args=array(
's'      => $s, 
);
?>
<?php query_posts($args); ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>

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