PHP Classes

File: configuration_factory/configuration.mysql.php

Recommend this page to a friend!
  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: 18 years ago
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
?>