Login   Register  
PHP Classes
elePHPant
Icontem

File: conf_db_pdo.inc.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Volker Rubach  >  PDO Database Connection  >  conf_db_pdo.inc.php  >  Download  
File: conf_db_pdo.inc.php
Role: Configuration script
Content type: text/plain
Description: Config
Class: PDO Database Connection
Access MySQL databases using the PDO extension
Author: By
Last change:
Date: 2012-02-10 16:06
Size: 1,060 bytes
 

Contents

Class file image Download
<?php


/**************************************************************************
 *
 * Title:         Config For Class 'connDB' (conf_db_pdo.inc.php)
 *
 * Version:       1.3
 *
 * Copyright:     (c) 2012 Volker Rubach - All rights reserved
 *
 * Description:   In this configuration file are the credentials for
 *                the database connection managed centrally.
 *
 *************************************************************************/


//-------------------------------------------------------------------------
// MySQL database details
//-------------------------------------------------------------------------

$this->dbHost "127.0.0.1";    // MySQL host name
$this->dbName "<name>";       // MySQL database name


//-------------------------------------------------------------------------
// MySQL account details
//-------------------------------------------------------------------------

$this->dbUser "<user>";       // MySQL username
$this->dbPass "<password>";   // MySQL password


?>