PHP Classes

File: config.php

Recommend this page to a friend!
  Classes of Shabeer ALi M  >  mSync PHP Sync MySQL Databases  >  config.php  >  Download  
File: config.php
Role: Configuration script
Content type: text/plain
Description: Configuration script
Class: mSync PHP Sync MySQL Databases
Update the MySQL database schema between servers
Author: By
Last change:
Date: 10 months ago
Size: 623 bytes
 

Contents

Class file image Download
<?php
/**
* msync : MYSQL SYNC 0.0.1
* Developed By : Shabeer Ali M & Harish U Warrier
*/

/*
* mysql configuration eg: localhost
*/
$hostname = "localhost";
$cfg[$hostname]['host'] = 'localhost';
$cfg[$hostname]['user'] = 'root';
$cfg[$hostname]['password'] = '';
$cfg[$hostname]['database'] = 'brevity';


/*
* mysql configuration eg: yourdomain.com
* Note : To update mysql db from different host you need to grant remote access.
*/

$hostname = "yourdomain.com";
$cfg[$hostname]['host'] = 'localhost';
$cfg[$hostname]['user'] = 'root';
$cfg[$hostname]['password'] = 'root';
$cfg[$hostname]['database'] = 'brevity';

?>

For more information send a message to info at phpclasses dot org.