Login   Register  
PHP Classes
elePHPant
Icontem

File: configuration_factory/configuration.mysql.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of joel  >  POG - PHP Code Generator  >  configuration_factory/configuration.mysql.php  >  Download  
File: configuration_factory/configuration.mysql.php
Role: Configuration script
Content type: text/plain
Description: configuration for pdo mysql
Class: POG - PHP Code Generator
Generate object-relational mapping classes
Author: By
Last change:
Date: 2006-05-20 11:02
Size: 664 bytes
 

Contents

Class file image Download
<?php
if (!isset($_SESSION))
{
    
session_start();
}
global 
$configuration;
$configuration['soap'] = "&soap";
$configuration['revisionNumber'] = "&revisionNumber";
$configuration['versionNumber'] = "&versionNumber";

$configuration['pdoDriver']    = 'mysql';
$configuration['db_encoding'] = &db_encoding;

// edit the information below to match your database settings

$configuration['db']    = 'test';        //    <- database name
$configuration['host']     = 'localhost';    //    <- database host
$configuration['user']     = 'root';        //    <- database user
$configuration['pass']    = 'pass';        //    <- database password
$configuration['port']    = '3306';        //    <- database port
?>