Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
08b2b626
Commit
08b2b626
authored
Jan 30, 2003
by
Leigh B. Stoller
Browse files
Include the script name in the mysql connect so that the log file
indicates who made the query (more or less, of course).
parent
a73c3f16
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/dbdefs.php3.in
View file @
08b2b626
...
...
@@ -1282,7 +1282,7 @@ function TBIPtoNodeID($ip) {
$maxtries
=
3
;
$DBlinkid
=
0
;
while
(
$maxtries
)
{
$DBlinkid
=
mysql_connect
();
$DBlinkid
=
mysql_connect
(
"localhost"
,
basename
(
$SCRIPT_NAME
)
);
if
(
$DBlinkid
)
{
break
;
}
...
...
Write
Preview
Supports
Markdown
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