The tests weren't complete nor were they being used so I dropped them. Since this branch is still actively being maintained as it's the PHP 5.3 compatible stuff I figured I should update the headers to have the current year and explicitly show that it's PHP 5.3+ and not just PHP 5.
45 lines
819 B
PHP
45 lines
819 B
PHP
<?php
|
|
|
|
/**
|
|
* MySQL Class File for PICKLES
|
|
*
|
|
* PHP version 5.3+
|
|
*
|
|
* Licensed under The MIT License
|
|
* Redistribution of these files must retain the above copyright notice.
|
|
*
|
|
* @author Joshua Sherman <josh@gravityblvd.com>
|
|
* @copyright Copyright 2007-2014, Joshua Sherman
|
|
* @license http://www.opensource.org/licenses/mit-license.html
|
|
* @package PICKLES
|
|
* @link https://github.com/joshtronic/pickles
|
|
*/
|
|
|
|
/**
|
|
* MySQL Database Abstraction Layer
|
|
*/
|
|
class Database_PDO_MySQL extends Database_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;
|
|
}
|
|
|
|
?>
|