~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to support-files/binary-configure.sh

  • Committer: Monty Taylor
  • Date: 2008-10-16 06:32:30 UTC
  • mto: (511.1.5 codestyle)
  • mto: This revision was merged to the branch mainline in revision 521.
  • Revision ID: monty@inaugust.com-20081016063230-4brxsra0qsmsg84q
Added -Wunused-macros.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
if test ! -x  ./scripts/mysql_install_db
3
 
then
4
 
  echo "I didn't find the script './scripts/mysql_install_db'."
5
 
  echo "Please execute this script in the mysql distribution directory!"
6
 
  exit 1;
7
 
fi
8
 
 
9
 
echo "NOTE: This is a MySQL binary distribution. It's ready to run, you don't"
10
 
echo "need to configure it!"
11
 
echo ""
12
 
echo "To help you a bit, I am now going to create the needed MySQL databases"
13
 
echo "and start the MySQL server for you.  If you run into any trouble, please"
14
 
echo "consult the MySQL manual, that you can find in the Docs directory."
15
 
echo ""
16
 
 
17
 
./scripts/mysql_install_db --no-defaults
18
 
if [ $? = 0 ]
19
 
then
20
 
  echo "Starting the mysqld server.  You can test that it is up and running"
21
 
  echo "with the command:"
22
 
  echo "./bin/mysqladmin version"
23
 
  ./bin/mysqld_safe --no-defaults &
24
 
fi