Skip to content
GitLab
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
0dcce19a
Commit
0dcce19a
authored
Mar 06, 2007
by
Russ Fish
Browse files
The mysql password wasn't being used.
parent
c4ae0f7c
Changes
1
Hide whitespace changes
Inline
Side-by-side
install/ops-install.in
View file @
0dcce19a
...
...
@@ -999,11 +999,11 @@ Phase "database", "Setting up database", sub {
};
Phase
"
dbpatch
",
"
Patching up mysql DB
",
sub
{
if
(
!
ExecQuiet
("
$MYSQLDUMP
-u root mysql emulab_dbs
"))
{
if
(
!
ExecQuiet
("
$MYSQLDUMP
-u root
-p
$password
mysql emulab_dbs
"))
{
PhaseSkip
("
DB already patched
");
}
ExecQuietFatal
("
$MYSQL
-u root mysql <
$TOP_SRCDIR
/sql/opsdb.sql
");
ExecQuietFatal
("
$MYSQL
-u root
-p
$password
mysql <
$TOP_SRCDIR
/sql/opsdb.sql
");
};
# Once the password is inserted and privs flushed, will need a password
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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