mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
e4ae47ff36
innobase/ha/ha0ha.c: Removed compiler warnings mysql-test/t/innodb.test: Another fix for cardinality scripts/Makefile.am: Install fill_help_tables.sql in prefix/share/mysql Don't install make_binary_distribution scripts/fill_help_tables.sh: use INSERT IGNORE to avoid errors scripts/make_binary_distribution.sh: Install and use fill_help_tables.sql scripts/mysql_install_db.sh: Search for and use fill_help_tables.sql sql/mysqld.cc: Don't write shutdown message when called from mysql_install_db support-files/Makefile.am: Don't install binary-configure support-files/binary-configure.sh: Don't use config files
24 lines
801 B
Bash
24 lines
801 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 --no-defaults
|
|
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 --no-defaults &
|
|
fi
|