repo.or.cz
/
cxgn-corelibs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Added to perldoc instructions about the use of the environment variables.
[cxgn-corelibs.git]
/
lib
/
Chado
/
LoadDBI.pm
blob
86a714555fe3a6ff1b40c702e51383696893dd42
1
package
Chado
::
LoadDBI
;
2
3
use
strict
;
4
use
lib
'/lib'
;
5
use
Chado
::
AutoDBI
;
6
7
sub
init
8
{
9
Chado
::
DBI
->
set_db
(
'Main'
,
10
"dbi:Pg:dbname=fake_chado_db_name;port=fake_chado_db_port;host=fake_chado_db_host"
,
11
"fake_chado_db_username"
,
12
"fake_chado_db_password"
,
13
{
14
AutoCommit
=>
0
15
}
16
);
17
}
18
19
1
;