⧼vector-jumptocontent⧽

Database.pl: Difference between revisions

From EPrints Documentation
No edit summary
mNo edit summary
Line 2: Line 2:
{{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.
'''database.pl''' 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==
==Example==

Revision as of 12:03, 27 January 2022


Back to cfg.d

database.pl 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';