actual working connection

connecting to a local db using pdo