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
30cad8ec
Commit
30cad8ec
authored
Oct 25, 2003
by
vva@eagle.mysql.r18.ru
Browse files
Options
Browse Files
Download
Plain Diff
Merge eagle.mysql.r18.ru:/home/vva/work/mysql.orig/clear/mysql-4.0
into eagle.mysql.r18.ru:/home/vva/work/BUG_1228/mysql-4.0
parents
37ee1b8e
dcc36e67
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
scripts/mysql_secure_installation.sh
scripts/mysql_secure_installation.sh
+7
-3
No files found.
scripts/mysql_secure_installation.sh
View file @
30cad8ec
...
...
@@ -85,9 +85,13 @@ set_root_password() {
return
1
fi
do_query
"
SET PASSWORD FOR root=PASSWORD('
$password1
')
;"
do_query
"
UPDATE mysql.user SET Password=PASSWORD('
$password1
') WHERE User='root'
;"
if
[
$?
-eq
0
]
;
then
echo
"Password updated successfully!"
echo
"Reloading privilege tables.."
if
!
reload_privilege_tables
;
then
exit
1
fi
echo
rootpass
=
$password1
make_config
...
...
@@ -144,11 +148,11 @@ reload_privilege_tables() {
do_query
"FLUSH PRIVILEGES;"
if
[
$?
-eq
0
]
;
then
echo
" ... Success!"
return
0
else
echo
" ... Failed!"
return
1
fi
return
0
}
interrupt
()
{
...
...
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