Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Copy the file registry-source/app/Config/database.php.default to registry-source/local/Config/database.php. (For versions prior to v1.0.0, copy the file to registry-source/app/Config/database.php instead.)

Edit this file with your database connection information, including the password needed to connect to the database.

...

Code Block
titleexample database.php for MySQL
borderStylesolid
var $default = array(
 'driver' => 'Database/Mysql',
 'persistent' => false,
 'host' => 'localhost',
 'login' => 'registry_user',
 'password' => 'a good password goes here',
 'database' => 'registry',
 'prefix' => 'cm_',
 );
Code Block
titleexample database.php for PostgreSQL
borderStylesolid
var $default = array(
 'driver' => 'Database/Postgres',
 'persistent' => false,
 'host' => 'localhost',
 'login' => 'registry_user',
 'password' => 'a good password goes here',
 'database' => 'registry',
 'prefix' => 'cm_',
 );

...