summaryrefslogtreecommitdiff
path: root/support-files/binary-configure.sh
diff options
context:
space:
mode:
authorbk@work.mysql.com <>2000-07-31 21:29:14 +0200
committerbk@work.mysql.com <>2000-07-31 21:29:14 +0200
commitf4c589ff6c653d1d2a09c26e46ead3c8a15655d8 (patch)
treed253a359142dfc1ed247d5d4365d86972ea31109 /support-files/binary-configure.sh
parent7eec25e393727b16bb916b50d82b0aa3084e065c (diff)
downloadmariadb-git-f4c589ff6c653d1d2a09c26e46ead3c8a15655d8.tar.gz
Import changeset
Diffstat (limited to 'support-files/binary-configure.sh')
-rwxr-xr-xsupport-files/binary-configure.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/support-files/binary-configure.sh b/support-files/binary-configure.sh
new file mode 100755
index 00000000000..c67d2ba2827
--- /dev/null
+++ b/support-files/binary-configure.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+if test ! -x ./scripts/mysql_install_db
+then
+ echo "I didn't find the script './scripts/mysql_install_db'."
+ echo "Please execute this script in the mysql distribution directory!"
+ exit 1;
+fi
+
+./scripts/mysql_install_db
+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/safe_mysqld &
+fi