Generates DSN for PDO