mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
833f353e34
Added some alias to SHOW commands Prepare for dynamic changing of MySQL variables man/Makefile.am: Changed safe_mysqld -> mysqld_safe man/isamchk.1: Changed safe_mysqld -> mysqld_safe man/isamlog.1: Changed safe_mysqld -> mysqld_safe man/mysql.1: Changed safe_mysqld -> mysqld_safe man/mysql_zap.1: Changed safe_mysqld -> mysqld_safe man/mysqlaccess.1: Changed safe_mysqld -> mysqld_safe man/mysqladmin.1: Changed safe_mysqld -> mysqld_safe man/mysqld.1: Changed safe_mysqld -> mysqld_safe man/mysqld_multi.1: Changed safe_mysqld -> mysqld_safe man/mysqld_safe.1: Changed safe_mysqld -> mysqld_safe man/mysqldump.1: Changed safe_mysqld -> mysqld_safe man/mysqlshow.1: Changed safe_mysqld -> mysqld_safe man/perror.1: Changed safe_mysqld -> mysqld_safe man/replace.1: Changed safe_mysqld -> mysqld_safe man/which.2: Changed safe_mysqld -> mysqld_safe myisam/mi_search.c: Fixed bug when using packed keys. scripts/Makefile.am: Changed safe_mysqld -> mysqld_safe scripts/make_binary_distribution.sh: Changed safe_mysqld -> mysqld_safe scripts/mysql_install_db.sh: Changed safe_mysqld -> mysqld_safe scripts/mysqld_multi.sh: Changed safe_mysqld -> mysqld_safe scripts/mysqld_safe-watch.sh: Changed safe_mysqld -> mysqld_safe scripts/mysqld_safe.sh: Changed safe_mysqld -> mysqld_safe sql/lex.h: Addex SHOW INDEXES as an alias for SHOW INDEX sql/sql_class.cc: Prepare for dynamic changing of MySQL variables sql/sql_lex.h: Prepare for dynamic changing of MySQL variables sql/sql_yacc.yy: Some changes to SHOW commands. support-files/binary-configure.sh: Changed safe_mysqld -> mysqld_safe support-files/mysql-max.spec.sh: Changed safe_mysqld -> mysqld_safe support-files/mysql-multi.server.sh: Changed safe_mysqld -> mysqld_safe support-files/mysql.server.sh: Changed safe_mysqld -> mysqld_safe support-files/mysql.spec.sh: Changed safe_mysqld -> mysqld_safe
24 lines
773 B
Bash
24 lines
773 B
Bash
#!/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
|
|
|
|
echo "NOTE: This is a MySQL binary distribution. It's ready to run, you don't"
|
|
echo "need to configure it!"
|
|
echo ""
|
|
echo "To help you a bit, I am now going to create the needed MySQL databases"
|
|
echo "and start the MySQL server for you. If you run into any trouble, please"
|
|
echo "consult the MySQL manual, that you can find in the Docs directory."
|
|
echo ""
|
|
|
|
./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/mysqld_safe &
|
|
fi
|