public static function connect($mysqlConfig)
    {
        $dbConfig = array(
            'dsn' => 'mysql:dbname=' . $mysqlConfig['dbname'] . ';host=' . $mysqlConfig['host'],
            'user' => $mysqlConfig['user'],
            'pass' => $mysqlConfig['pass'],
            'options' => array(PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES utf8"),
        );

        return parent::connect($dbConfig);
    }