<?php

   $host = 'localhost';
   $db   = 'pharmaconsult_cms';
   $user = 'pharmaconsult_aquarius';
   $pass = 'Aq1702965330079!';
   $cset = 'utf8';
   $defp = "123456";

   $dsn = "mysql:host=$host;dbname=$db;charset=$cset";

   $opt = array(PDO::ATTR_ERRMODE            => PDO::ERRMODE_EXCEPTION,
                PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC,
                PDO::ATTR_EMULATE_PREPARES   => false,
                PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES 'utf8'");

   $pdo = new PDO($dsn, $user, $pass, $opt);

?>