<?php
$dbhost   = "localhost";
$dbname = "ykksm";
$dbuser   = "ykksmreader";
$dbpasswd = "password";
$logfacility = LOG_LOCAL0;
?>

<?php
$db_dsn      = "mysql:dbname=ykksm;host=127.0.0.1";
$db_username = "ykksmreader";
$db_password = "yourpassword";
$db_options  = array();
$logfacility = LOG_LOCAL0;
?>

Update for PHP PDO configuration.
Update for PHP PDO configuration.

