⧼vector-jumptocontent⧽

Database.pl: Difference between revisions

From EPrints Documentation
Created page with '{{dirs}} {{cfgd}}'
 
No edit summary
Line 1: Line 1:
{{dirs}}
{{dirs}}
{{cfgd}}
{{cfgd}}
This is where the settings to connect to your database can be found. If you change your database settings by hand you will need to edit this file to reflect those changes. Broadly speaking this file will never change.
==Example==
<pre>
$c->{dbname} = 'trunk4';
$c->{dbhost} = 'localhost';
$c->{dbport} = undef;
$c->{dbsock} = undef;
$c->{dbuser} = 'trunk4';
$c->{dbpass} = 'SNsvkvEQ';
</pre>

Revision as of 10:48, 3 August 2010


Back to cfg.d

This is where the settings to connect to your database can be found. If you change your database settings by hand you will need to edit this file to reflect those changes. Broadly speaking this file will never change.

Example

$c->{dbname} = 'trunk4';
$c->{dbhost} = 'localhost';
$c->{dbport} = undef;
$c->{dbsock} = undef;
$c->{dbuser} = 'trunk4';
$c->{dbpass} = 'SNsvkvEQ';