Skip to content

Instantly share code, notes, and snippets.

@cherrypj
Created August 30, 2011 16:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cherrypj/1181353 to your computer and use it in GitHub Desktop.
Save cherrypj/1181353 to your computer and use it in GitHub Desktop.
ExpressionEngine Master (single) database.php (from http://pastie.org/private/tkthw6jle6yaiqr0rgdjma)
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
$active_group = 'expressionengine';
$active_record = TRUE;
$db['expressionengine']['hostname'] = "localhost"; // Change the Database Location if required
$db['expressionengine']['username'] = "dbuser"; // Change the Database User Name
$db['expressionengine']['password'] = "dbpass"; // Change the Database Pasword
$db['expressionengine']['database'] = "db_name"; // Change the Database Name
$db['expressionengine']['dbdriver'] = "mysql";
$db['expressionengine']['pconnect'] = FALSE;
$db['expressionengine']['dbprefix'] = "exp_";
$db['expressionengine']['swap_pre'] = "exp_";
$db['expressionengine']['db_debug'] = TRUE;
$db['expressionengine']['cache_on'] = FALSE;
$db['expressionengine']['autoinit'] = FALSE;
$db['expressionengine']['char_set'] = "utf8";
$db['expressionengine']['dbcollat'] = "utf8_general_ci";
$db['expressionengine']['cachedir'] = $_SERVER['DOCUMENT_ROOT']."system/expressionengine/cache/db_cache/";
/* End of file database.php */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment