pickles/classes/Datastore/PDO/MySQL.php
Josh Sherman ebd0018473 Reworked Database stuff to be Datastore stuff
Wanted a generic grouping for all datastores so there's a place for memcached and redis.
2013-02-26 10:15:52 -05:00

45 lines
816 B
PHP

<?php
/**
* MySQL Class File for PICKLES
*
* PHP version 5
*
* Licensed under The MIT License
* Redistribution of these files must retain the above copyright notice.
*
* @author Josh Sherman <pickles@joshtronic.com>
* @copyright Copyright 2007-2013, Josh Sherman
* @license http://www.opensource.org/licenses/mit-license.html
* @package PICKLES
* @link https://github.com/joshtronic/pickles
*/
/**
* MySQL Database Abstraction Layer
*/
class Datastore_PDO_MySQL extends Datastore_PDO_Common
{
/**
* Driver
*
* @var string
*/
public $driver = 'pdo_mysql';
/**
* DSN format
*
* @var string
*/
public $dsn = 'mysql:host=[[hostname]];port=[[port]];unix_socket=[[socket]];dbname=[[database]]';
/**
* Default port
*
* @var integer
*/
public $port = 3306;
}
?>