~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: brian
  • Date: 2008-06-25 05:29:13 UTC
  • Revision ID: brian@localhost.localdomain-20080625052913-6upwo0jsrl4lnapl
clean slate

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