Merhabalar şu şekilde denermisin
<?php 

try {

    $db=new PDO("mysql:host=localhost;dbname=dbadi;charset=utf8",'kullaniciadi','sifre');

}

catch (PDOExpception $e) {

    echo $e->getMessage();

}

 ?>