Skip to content

Commit db82f53

Browse files
author
Raghav Kapoor
committed
BUG#11765553 - 58534: MYSQL_INSTALL_DB PRINTS INCOMPLETE OPTION NAME BACKGROUND: "--skip-grant" is an incomplete option name. It should be "--skip-grant-tables" in mysql_install_db.sh.Besides,full option name should be displayed, not some arbitrary shorthand. FIX: One change has been made in file mysql_install_db.sh at line 408 where "shell> $mysqld --skip-grant &" is replaced by "shell> $mysqld --skip-grant-tables &" to complete the option name.
1 parent 9a7db56 commit db82f53

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

scripts/mysql_install_db.pl.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ else
538538
"",
539539
"Examine the logs in $opt->{ldata} for more information.",
540540
"You can try to start the mysqld daemon with:",
541-
"$mysqld --skip-grant &",
541+
"$mysqld --skip-grant-tables &",
542542
"and use the command line tool",
543543
"$bindir/mysql to connect to the mysql",
544544
"database and look at the grant tables:",

scripts/mysql_install_db.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ else
410410
echo
411411
echo "You can try to start the mysqld daemon with:"
412412
echo
413-
echo " shell> $mysqld --skip-grant &"
413+
echo " shell> $mysqld --skip-grant-tables &"
414414
echo
415415
echo "and use the command line tool $bindir/mysql"
416416
echo "to connect to the mysql database and look at the grant tables:"

sql/udf_example.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
** The functions name, type and shared library is saved in the new system
2121
** table 'func'. To be able to create new functions one must have write
2222
** privilege for the database 'mysql'. If one starts MySQL with
23-
** --skip-grant, then UDF initialization will also be skipped.
23+
** --skip-grant-tables, then UDF initialization will also be skipped.
2424
**
2525
** Syntax for the new commands are:
2626
** create function <function_name> returns {string|real|integer}

0 commit comments

Comments
 (0)