binary-configure.sh
上传用户:tsgydb
上传日期:2007-04-14
资源大小:10674k
文件大小:1k
源码类别:

MySQL数据库

开发平台:

Visual C++

  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. echo "NOTE: This is a MySQL binary distribution. It's ready to run, you don't"
  9. echo "need to configure it!"
  10. echo ""
  11. echo "To help you a bit, I am now going to create the needed MySQL databases"
  12. echo "and start the MySQL server for you.  If you run into any trouble, please"
  13. echo "consult the MySQL manual, that you can find in the Docs directory."
  14. echo ""
  15. ./scripts/mysql_install_db
  16. if [ $? = 0 ]
  17. then
  18.   echo "Starting the mysqld server.  You can test that it is up and running"
  19.   echo "with the command:"
  20.   echo "./bin/mysqladmin version"
  21.   ./bin/safe_mysqld &
  22. fi