PHP Classes

File: conf_db_pdo.inc.php

Recommend this page to a friend!
  Classes of VR   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: 12 years ago
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


?>