Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ensembl-gh-mirror
ensembl
Commits
854b2361
Commit
854b2361
authored
Mar 26, 2008
by
Steve Trevanion
Browse files
*** empty log message ***
parent
f766fb69
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
modules/Bio/EnsEMBL/Utils/ConversionSupport.pm
modules/Bio/EnsEMBL/Utils/ConversionSupport.pm
+3
-1
No files found.
modules/Bio/EnsEMBL/Utils/ConversionSupport.pm
View file @
854b2361
...
...
@@ -733,6 +733,8 @@ sub get_dbconnection {
$dsn
.=
"
;dbname=
"
.
$self
->
param
("
${prefix}
dbname
");
}
# warn $dsn;
my
$dbh
;
eval
{
$dbh
=
DBI
->
connect
(
$dsn
,
$self
->
param
("
${prefix}
user
"),
...
...
@@ -742,7 +744,7 @@ sub get_dbconnection {
if
(
!
$dbh
||
$@
||
!
$dbh
->
ping
)
{
$self
->
log_error
("
Could not connect to db server as user
"
.
$self
->
param
("
${prefix}
user
")
.
"
using [
$dsn
] as a locator:
\n
"
.
$
DBI::
errstr
);
"
using [
$dsn
] as a locator:
\n
"
.
$
DBI::
errstr
.
$@
);
}
$self
->
{'
_dbh
'}
=
$dbh
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment