mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2024-11-14 20:04:50 +01:00
Fix typos in docker-entrypoint.sh
This commit is contained in:
parent
5795897a3e
commit
854af68e9e
@ -74,10 +74,10 @@ configure_db_mysql() {
|
|||||||
|
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
|
|
||||||
echo "** Instaling initial MySQL database schemas"
|
echo "** Installing initial MySQL database schemas"
|
||||||
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
||||||
else
|
else
|
||||||
echo "**** MySQL data directory is not empty. Using already existsing installation."
|
echo "**** MySQL data directory is not empty. Using already existing installation."
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -74,10 +74,10 @@ configure_db_mysql() {
|
|||||||
|
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
|
|
||||||
echo "** Instaling initial MySQL database schemas"
|
echo "** Installing initial MySQL database schemas"
|
||||||
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
||||||
else
|
else
|
||||||
echo "**** MySQL data directory is not empty. Using already existsing installation."
|
echo "**** MySQL data directory is not empty. Using already existing installation."
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -74,10 +74,10 @@ configure_db_mysql() {
|
|||||||
|
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
|
|
||||||
echo "** Instaling initial MySQL database schemas"
|
echo "** Installing initial MySQL database schemas"
|
||||||
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
||||||
else
|
else
|
||||||
echo "**** MySQL data directory is not empty. Using already existsing installation."
|
echo "**** MySQL data directory is not empty. Using already existing installation."
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -74,10 +74,10 @@ configure_db_mysql() {
|
|||||||
|
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
|
|
||||||
echo "** Instaling initial MySQL database schemas"
|
echo "** Installing initial MySQL database schemas"
|
||||||
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
||||||
else
|
else
|
||||||
echo "**** MySQL data directory is not empty. Using already existsing installation."
|
echo "**** MySQL data directory is not empty. Using already existing installation."
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -74,10 +74,10 @@ configure_db_mysql() {
|
|||||||
|
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
|
|
||||||
echo "** Instaling initial MySQL database schemas"
|
echo "** Installing initial MySQL database schemas"
|
||||||
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
||||||
else
|
else
|
||||||
echo "**** MySQL data directory is not empty. Using already existsing installation."
|
echo "**** MySQL data directory is not empty. Using already existing installation."
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -74,10 +74,10 @@ configure_db_mysql() {
|
|||||||
|
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
|
|
||||||
echo "** Instaling initial MySQL database schemas"
|
echo "** Installing initial MySQL database schemas"
|
||||||
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
||||||
else
|
else
|
||||||
echo "**** MySQL data directory is not empty. Using already existsing installation."
|
echo "**** MySQL data directory is not empty. Using already existing installation."
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -74,10 +74,10 @@ configure_db_mysql() {
|
|||||||
|
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
|
|
||||||
echo "** Instaling initial MySQL database schemas"
|
echo "** Installing initial MySQL database schemas"
|
||||||
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
||||||
else
|
else
|
||||||
echo "**** MySQL data directory is not empty. Using already existsing installation."
|
echo "**** MySQL data directory is not empty. Using already existing installation."
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -74,10 +74,10 @@ configure_db_mysql() {
|
|||||||
|
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
|
|
||||||
echo "** Instaling initial MySQL database schemas"
|
echo "** Installing initial MySQL database schemas"
|
||||||
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
||||||
else
|
else
|
||||||
echo "**** MySQL data directory is not empty. Using already existsing installation."
|
echo "**** MySQL data directory is not empty. Using already existing installation."
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -74,10 +74,10 @@ configure_db_mysql() {
|
|||||||
|
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
|
|
||||||
echo "** Instaling initial MySQL database schemas"
|
echo "** Installing initial MySQL database schemas"
|
||||||
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
||||||
else
|
else
|
||||||
echo "**** MySQL data directory is not empty. Using already existsing installation."
|
echo "**** MySQL data directory is not empty. Using already existing installation."
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -74,10 +74,10 @@ configure_db_mysql() {
|
|||||||
|
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
|
|
||||||
echo "** Instaling initial MySQL database schemas"
|
echo "** Installing initial MySQL database schemas"
|
||||||
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
||||||
else
|
else
|
||||||
echo "**** MySQL data directory is not empty. Using already existsing installation."
|
echo "**** MySQL data directory is not empty. Using already existing installation."
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -74,10 +74,10 @@ configure_db_mysql() {
|
|||||||
|
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
|
|
||||||
echo "** Instaling initial MySQL database schemas"
|
echo "** Installing initial MySQL database schemas"
|
||||||
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
||||||
else
|
else
|
||||||
echo "**** MySQL data directory is not empty. Using already existsing installation."
|
echo "**** MySQL data directory is not empty. Using already existing installation."
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -74,10 +74,10 @@ configure_db_mysql() {
|
|||||||
|
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
|
|
||||||
echo "** Instaling initial MySQL database schemas"
|
echo "** Installing initial MySQL database schemas"
|
||||||
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
||||||
else
|
else
|
||||||
echo "**** MySQL data directory is not empty. Using already existsing installation."
|
echo "**** MySQL data directory is not empty. Using already existing installation."
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -74,10 +74,10 @@ configure_db_mysql() {
|
|||||||
|
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
|
|
||||||
echo "** Instaling initial MySQL database schemas"
|
echo "** Installing initial MySQL database schemas"
|
||||||
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
||||||
else
|
else
|
||||||
echo "**** MySQL data directory is not empty. Using already existsing installation."
|
echo "**** MySQL data directory is not empty. Using already existing installation."
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -74,10 +74,10 @@ configure_db_mysql() {
|
|||||||
|
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
|
|
||||||
echo "** Instaling initial MySQL database schemas"
|
echo "** Installing initial MySQL database schemas"
|
||||||
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
||||||
else
|
else
|
||||||
echo "**** MySQL data directory is not empty. Using already existsing installation."
|
echo "**** MySQL data directory is not empty. Using already existing installation."
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -74,10 +74,10 @@ configure_db_mysql() {
|
|||||||
|
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
|
|
||||||
echo "** Instaling initial MySQL database schemas"
|
echo "** Installing initial MySQL database schemas"
|
||||||
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
||||||
else
|
else
|
||||||
echo "**** MySQL data directory is not empty. Using already existsing installation."
|
echo "**** MySQL data directory is not empty. Using already existing installation."
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -74,10 +74,10 @@ configure_db_mysql() {
|
|||||||
|
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
|
|
||||||
echo "** Instaling initial MySQL database schemas"
|
echo "** Installing initial MySQL database schemas"
|
||||||
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
||||||
else
|
else
|
||||||
echo "**** MySQL data directory is not empty. Using already existsing installation."
|
echo "**** MySQL data directory is not empty. Using already existing installation."
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -74,10 +74,10 @@ configure_db_mysql() {
|
|||||||
|
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
|
|
||||||
echo "** Instaling initial MySQL database schemas"
|
echo "** Installing initial MySQL database schemas"
|
||||||
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
||||||
else
|
else
|
||||||
echo "**** MySQL data directory is not empty. Using already existsing installation."
|
echo "**** MySQL data directory is not empty. Using already existing installation."
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -74,10 +74,10 @@ configure_db_mysql() {
|
|||||||
|
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
|
|
||||||
echo "** Instaling initial MySQL database schemas"
|
echo "** Installing initial MySQL database schemas"
|
||||||
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
||||||
else
|
else
|
||||||
echo "**** MySQL data directory is not empty. Using already existsing installation."
|
echo "**** MySQL data directory is not empty. Using already existing installation."
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -74,10 +74,10 @@ configure_db_mysql() {
|
|||||||
|
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
|
|
||||||
echo "** Instaling initial MySQL database schemas"
|
echo "** Installing initial MySQL database schemas"
|
||||||
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
||||||
else
|
else
|
||||||
echo "**** MySQL data directory is not empty. Using already existsing installation."
|
echo "**** MySQL data directory is not empty. Using already existing installation."
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -74,10 +74,10 @@ configure_db_mysql() {
|
|||||||
|
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
|
|
||||||
echo "** Instaling initial MySQL database schemas"
|
echo "** Installing initial MySQL database schemas"
|
||||||
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
||||||
else
|
else
|
||||||
echo "**** MySQL data directory is not empty. Using already existsing installation."
|
echo "**** MySQL data directory is not empty. Using already existing installation."
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -74,10 +74,10 @@ configure_db_mysql() {
|
|||||||
|
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
|
|
||||||
echo "** Instaling initial MySQL database schemas"
|
echo "** Installing initial MySQL database schemas"
|
||||||
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
||||||
else
|
else
|
||||||
echo "**** MySQL data directory is not empty. Using already existsing installation."
|
echo "**** MySQL data directory is not empty. Using already existing installation."
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -74,10 +74,10 @@ configure_db_mysql() {
|
|||||||
|
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
|
|
||||||
echo "** Instaling initial MySQL database schemas"
|
echo "** Installing initial MySQL database schemas"
|
||||||
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
||||||
else
|
else
|
||||||
echo "**** MySQL data directory is not empty. Using already existsing installation."
|
echo "**** MySQL data directory is not empty. Using already existing installation."
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -74,10 +74,10 @@ configure_db_mysql() {
|
|||||||
|
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
|
|
||||||
echo "** Instaling initial MySQL database schemas"
|
echo "** Installing initial MySQL database schemas"
|
||||||
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
||||||
else
|
else
|
||||||
echo "**** MySQL data directory is not empty. Using already existsing installation."
|
echo "**** MySQL data directory is not empty. Using already existing installation."
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -74,10 +74,10 @@ configure_db_mysql() {
|
|||||||
|
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
|
|
||||||
echo "** Instaling initial MySQL database schemas"
|
echo "** Installing initial MySQL database schemas"
|
||||||
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
||||||
else
|
else
|
||||||
echo "**** MySQL data directory is not empty. Using already existsing installation."
|
echo "**** MySQL data directory is not empty. Using already existing installation."
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -74,10 +74,10 @@ configure_db_mysql() {
|
|||||||
|
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
|
|
||||||
echo "** Instaling initial MySQL database schemas"
|
echo "** Installing initial MySQL database schemas"
|
||||||
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
||||||
else
|
else
|
||||||
echo "**** MySQL data directory is not empty. Using already existsing installation."
|
echo "**** MySQL data directory is not empty. Using already existing installation."
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -74,10 +74,10 @@ configure_db_mysql() {
|
|||||||
|
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
|
|
||||||
echo "** Instaling initial MySQL database schemas"
|
echo "** Installing initial MySQL database schemas"
|
||||||
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
||||||
else
|
else
|
||||||
echo "**** MySQL data directory is not empty. Using already existsing installation."
|
echo "**** MySQL data directory is not empty. Using already existing installation."
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -74,10 +74,10 @@ configure_db_mysql() {
|
|||||||
|
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
|
|
||||||
echo "** Instaling initial MySQL database schemas"
|
echo "** Installing initial MySQL database schemas"
|
||||||
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
||||||
else
|
else
|
||||||
echo "**** MySQL data directory is not empty. Using already existsing installation."
|
echo "**** MySQL data directory is not empty. Using already existing installation."
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -74,10 +74,10 @@ configure_db_mysql() {
|
|||||||
|
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
|
|
||||||
echo "** Instaling initial MySQL database schemas"
|
echo "** Installing initial MySQL database schemas"
|
||||||
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
||||||
else
|
else
|
||||||
echo "**** MySQL data directory is not empty. Using already existsing installation."
|
echo "**** MySQL data directory is not empty. Using already existing installation."
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -74,10 +74,10 @@ configure_db_mysql() {
|
|||||||
|
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
|
|
||||||
echo "** Instaling initial MySQL database schemas"
|
echo "** Installing initial MySQL database schemas"
|
||||||
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
||||||
else
|
else
|
||||||
echo "**** MySQL data directory is not empty. Using already existsing installation."
|
echo "**** MySQL data directory is not empty. Using already existing installation."
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -74,10 +74,10 @@ configure_db_mysql() {
|
|||||||
|
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
|
|
||||||
echo "** Instaling initial MySQL database schemas"
|
echo "** Installing initial MySQL database schemas"
|
||||||
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
||||||
else
|
else
|
||||||
echo "**** MySQL data directory is not empty. Using already existsing installation."
|
echo "**** MySQL data directory is not empty. Using already existing installation."
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -74,10 +74,10 @@ configure_db_mysql() {
|
|||||||
|
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
|
|
||||||
echo "** Instaling initial MySQL database schemas"
|
echo "** Installing initial MySQL database schemas"
|
||||||
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
||||||
else
|
else
|
||||||
echo "**** MySQL data directory is not empty. Using already existsing installation."
|
echo "**** MySQL data directory is not empty. Using already existing installation."
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -74,10 +74,10 @@ configure_db_mysql() {
|
|||||||
|
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
|
|
||||||
echo "** Instaling initial MySQL database schemas"
|
echo "** Installing initial MySQL database schemas"
|
||||||
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
||||||
else
|
else
|
||||||
echo "**** MySQL data directory is not empty. Using already existsing installation."
|
echo "**** MySQL data directory is not empty. Using already existing installation."
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -74,10 +74,10 @@ configure_db_mysql() {
|
|||||||
|
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
|
|
||||||
echo "** Instaling initial MySQL database schemas"
|
echo "** Installing initial MySQL database schemas"
|
||||||
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
||||||
else
|
else
|
||||||
echo "**** MySQL data directory is not empty. Using already existsing installation."
|
echo "**** MySQL data directory is not empty. Using already existing installation."
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -74,10 +74,10 @@ configure_db_mysql() {
|
|||||||
|
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
|
|
||||||
echo "** Instaling initial MySQL database schemas"
|
echo "** Installing initial MySQL database schemas"
|
||||||
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
mysql_install_db --user=mysql 2>&1 1>/dev/null
|
||||||
else
|
else
|
||||||
echo "**** MySQL data directory is not empty. Using already existsing installation."
|
echo "**** MySQL data directory is not empty. Using already existing installation."
|
||||||
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
chown -R mysql:mysql "$MYSQL_DATA_DIR"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user