try {
$db = new PDO("mysql:host=LOCALHOSTUN;dbname=VERİTABANI İSMİN;charset=utf8", "KULLANCI ADIN", "ŞİFREN");
} catch ( PDOException $e ){
print $e->getMessage();
}