diff options
author | Rucha Deodhar <rucha.deodhar@mariadb.com> | 2021-02-08 14:52:04 +0530 |
---|---|---|
committer | Rucha Deodhar <rucha.deodhar@mariadb.com> | 2021-04-06 16:40:42 +0530 |
commit | 58df9e3446ba05efd49aa6a5519ed55df32e3a4f (patch) | |
tree | 68273fa001b5267c290b7f89ca51cdc54b13ff99 /scripts/mysql_install_db.sh | |
parent | de407e7cb4d12574806bf4f7830e73908d5ca9e2 (diff) | |
download | mariadb-git-bb-10.6-MDEV-22010.tar.gz |
MDEV-22010: use executables MariaDB named in scriptsbb-10.6-MDEV-22010
As a part of this MDEV following changes were made:
1) Mariadb named executables used instead of mysql named executables in scripts
2) renamed mysql-test-run and mysql-stress-test to mariadb-test-run and
mariadb-stress-test and created a symlink.
Diffstat (limited to 'scripts/mysql_install_db.sh')
-rw-r--r-- | scripts/mysql_install_db.sh | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/scripts/mysql_install_db.sh b/scripts/mysql_install_db.sh index 5f183afe8fc..05ce4f31a69 100644 --- a/scripts/mysql_install_db.sh +++ b/scripts/mysql_install_db.sh @@ -315,7 +315,7 @@ parse_arguments `"$print_defaults" $defaults $defaults_group_suffix --mysqld mys parse_arguments PICK-ARGS-FROM-ARGV "$@" -rel_mysqld="$dirname0/@INSTALL_SBINDIR@/mysqld" +rel_mysqld="$dirname0/@INSTALL_SBINDIR@/mariadbd" # Configure paths to support files if test -n "$srcdir" @@ -338,11 +338,11 @@ then cannot_find_file resolveip @resolveip_locations@ exit 1 fi - mysqld=`find_in_dirs mysqld @mysqld_locations@` + mysqld=`find_in_dirs mariadbd @mysqld_locations@` if test -z "$mysqld" then - cannot_find_file mysqld @mysqld_locations@ - exit 1 + cannot_find_file mariadbd @mysqld_locations@ + exit 1 fi langdir=`find_in_dirs --dir errmsg.sys @errmsg_locations@` if test -z "$langdir" @@ -360,7 +360,7 @@ then plugindir=`find_in_dirs --dir auth_pam.so $basedir/lib*/plugin $basedir/lib*/mysql/plugin $basedir/lib/*/mariadb19/plugin` pamtooldir=$plugindir # relative from where the script was run for a relocatable install -elif test -n "$dirname0" -a -x "$rel_mysqld" -a ! "$rel_mysqld" -ef "@sbindir@/mysqld" +elif test -n "$dirname0" -a -x "$rel_mysqld" -a ! "$rel_mysqld" -ef "@sbindir@/mariadbd" then basedir="$dirname0" bindir="$basedir/@INSTALL_BINDIR@" @@ -374,7 +374,7 @@ else basedir="@prefix@" bindir="@bindir@" resolveip="$bindir/resolveip" - mysqld="@sbindir@/mysqld" + mysqld="@sbindir@/mariadbd" srcpkgdatadir="@pkgdatadir@" buildpkgdatadir="@pkgdatadir@" plugindir="@pkgplugindir@" @@ -579,7 +579,7 @@ else echo echo " shell> $mysqld --skip-grant-tables --general-log &" echo - echo "and use the command line tool $bindir/mysql" + echo "and use the command line tool $bindir/mariadb" echo "to connect to the mysql database and look at the grant tables:" echo echo " shell> $bindir/mysql -u root mysql" @@ -613,8 +613,8 @@ then echo "PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !" echo "To do so, start the server, then issue the following commands:" echo - echo "'$bindir/mysqladmin' -u root password 'new-password'" - echo "'$bindir/mysqladmin' -u root -h $hostname password 'new-password'" + echo "'$bindir/mariadb-admin' -u root password 'new-password'" + echo "'$bindir/mariadb-admin' -u root -h $hostname password 'new-password'" echo echo "Alternatively you can run:" echo "'$bindir/mysql_secure_installation'" |