summaryrefslogtreecommitdiff
path: root/support-files
diff options
context:
space:
mode:
Diffstat (limited to 'support-files')
-rw-r--r--support-files/Makefile.am6
-rw-r--r--support-files/binary-configure.sh4
-rw-r--r--support-files/mysql.spec.sh2
3 files changed, 6 insertions, 6 deletions
diff --git a/support-files/Makefile.am b/support-files/Makefile.am
index 4aadd98bd1b..ec88972c821 100644
--- a/support-files/Makefile.am
+++ b/support-files/Makefile.am
@@ -34,8 +34,7 @@ pkgdata_DATA = my-small.cnf \
my-large.cnf \
my-huge.cnf \
mysql-log-rotate \
- mysql-@VERSION@.spec \
- binary-configure
+ mysql-@VERSION@.spec
pkgdata_SCRIPTS = mysql.server
@@ -48,7 +47,6 @@ CLEANFILES = my-small.cnf \
mysql-log-rotate \
mysql.server \
binary-configure
-
mysql-@VERSION@.spec: mysql.spec
rm -f $@
@@ -98,5 +96,7 @@ SUFFIXES = .sh
$< > $@-t
@MV@ $@-t $@
+all: binary-configure
+
# Don't update the files from bitkeeper
%::SCCS/s.%
diff --git a/support-files/binary-configure.sh b/support-files/binary-configure.sh
index 107f468bffc..884a8363e22 100644
--- a/support-files/binary-configure.sh
+++ b/support-files/binary-configure.sh
@@ -14,11 +14,11 @@ echo "and start the MySQL server for you. If you run into any trouble, please"
echo "consult the MySQL manual, that you can find in the Docs directory."
echo ""
-./scripts/mysql_install_db
+./scripts/mysql_install_db --no-defaults
if [ $? = 0 ]
then
echo "Starting the mysqld server. You can test that it is up and running"
echo "with the command:"
echo "./bin/mysqladmin version"
- ./bin/mysqld_safe &
+ ./bin/mysqld_safe --no-defaults &
fi
diff --git a/support-files/mysql.spec.sh b/support-files/mysql.spec.sh
index 500b308e686..53912eb2af6 100644
--- a/support-files/mysql.spec.sh
+++ b/support-files/mysql.spec.sh
@@ -368,7 +368,7 @@ useradd -M -r -d $mysql_datadir -s /bin/bash -c "MySQL server" mysql 2> /dev/nul
chown -R mysql $mysql_datadir
# Initiate databases
-mysql_install_db -IN-RPM
+mysql_install_db --rpm
# Change permissions again to fix any new files.
chown -R mysql $mysql_datadir