mirror of
https://github.com/MariaDB/server.git
synced 2025-01-23 15:24:16 +01:00
16 lines
416 B
Bash
16 lines
416 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
|
|
|
|
./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/safe_mysqld &
|
|
fi
|