summaryrefslogtreecommitdiff
path: root/support-files/binary-configure.sh
diff options
context:
space:
mode:
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