Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
8b8e8951
Commit
8b8e8951
authored
Dec 14, 2007
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge ramayana.hindu.god:/home/tsmith/m/bk/build/b33192/51
into ramayana.hindu.god:/home/tsmith/m/bk/build/51
parents
4d5d9197
d3c6875a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
3 deletions
+17
-3
scripts/mysql_install_db.sh
scripts/mysql_install_db.sh
+17
-3
No files found.
scripts/mysql_install_db.sh
View file @
8b8e8951
...
@@ -124,7 +124,7 @@ parse_arguments()
...
@@ -124,7 +124,7 @@ parse_arguments()
# the install package. See top-level 'dist-hook' make target.
# the install package. See top-level 'dist-hook' make target.
#
#
# --windows is a deprecated alias
# --windows is a deprecated alias
cross_bootstrap
=
1
;;
cross_bootstrap
=
1
;;
*
)
*
)
if
test
-n
"
$pick_args
"
if
test
-n
"
$pick_args
"
...
@@ -324,6 +324,16 @@ then
...
@@ -324,6 +324,16 @@ then
args
=
"
$args
--user=
$user
"
args
=
"
$args
--user=
$user
"
fi
fi
# When doing a "cross bootstrap" install, no reference to the current
# host should be added to the system tables. So we filter out any
# lines which contain the current host name.
if
test
$cross_bootstrap
-eq
1
then
filter_cmd_line
=
"sed -e '/@current_hostname/d'"
else
filter_cmd_line
=
"cat"
fi
# Configure mysqld command line
# Configure mysqld command line
mysqld_bootstrap
=
"
${
MYSQLD_BOOTSTRAP
-
$mysqld
}
"
mysqld_bootstrap
=
"
${
MYSQLD_BOOTSTRAP
-
$mysqld
}
"
mysqld_install_cmd_line
=
"
$mysqld_bootstrap
$defaults
$mysqld_opt
--bootstrap
\
mysqld_install_cmd_line
=
"
$mysqld_bootstrap
$defaults
$mysqld_opt
--bootstrap
\
...
@@ -367,7 +377,7 @@ else
...
@@ -367,7 +377,7 @@ else
fi
fi
s_echo
"Filling help tables..."
s_echo
"Filling help tables..."
if
`
(
echo
"use mysql;"
;
cat
$fill_help_tables
)
|
$mysqld_install_cmd_line
`
if
{
echo
"use mysql;"
;
cat
$fill_help_tables
;
}
|
$mysqld_install_cmd_line
>
/dev/null
then
then
s_echo
"OK"
s_echo
"OK"
else
else
...
@@ -377,12 +387,14 @@ else
...
@@ -377,12 +387,14 @@ else
fi
fi
# Don't output verbose information if running inside bootstrap or using
# Don't output verbose information if running inside bootstrap or using
# --srcdir for testing.
# --srcdir for testing. In such cases, there's no end user looking at
# the screen.
if
test
"
$cross_bootstrap
"
-eq
0
&&
test
-z
"
$srcdir
"
if
test
"
$cross_bootstrap
"
-eq
0
&&
test
-z
"
$srcdir
"
then
then
s_echo
s_echo
s_echo
"To start mysqld at boot time you have to copy"
s_echo
"To start mysqld at boot time you have to copy"
s_echo
"support-files/mysql.server to the right place for your system"
s_echo
"support-files/mysql.server to the right place for your system"
echo
echo
echo
"PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !"
echo
"PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !"
echo
"To do so, start the server, then issue the following commands:"
echo
"To do so, start the server, then issue the following commands:"
...
@@ -401,8 +413,10 @@ then
...
@@ -401,8 +413,10 @@ then
if
test
"
$in_rpm
"
-eq
0
if
test
"
$in_rpm
"
-eq
0
then
then
echo
echo
"You can start the MySQL daemon with:"
echo
"You can start the MySQL daemon with:"
echo
"cd
$basedir
;
$bindir
/mysqld_safe &"
echo
"cd
$basedir
;
$bindir
/mysqld_safe &"
echo
echo
"You can test the MySQL daemon with mysql-test-run.pl"
echo
"You can test the MySQL daemon with mysql-test-run.pl"
echo
"cd
$basedir
/mysql-test ; perl mysql-test-run.pl"
echo
"cd
$basedir
/mysql-test ; perl mysql-test-run.pl"
fi
fi
...
...
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