nls "Seems that database is initialized now. Remove by hand %s" "$MYSQL_DATA_DIR/mysql"
nls "before initializing database."
nls "For now skipping cluster %s." "$clusterdir"
- return
+ exit 6
fi
show "Installing MySQL system tables for $MYSQL_DATA_DIR"
else
fail
cat << END_OF_MSG
-Installation of grant tables FAILED!
+ERROR:
+ERROR:
+ERROR: Installation of grant tables FAILED!
+ERROR:
+ERROR:
The initialization SQL script was preserved at $MYSQL_DATA_DIR/mysql-init.sql
}
status() {
+ local mysqldir addr port socket pid pids running datadir
RETVAL=3
for mysqldir in $DB_CLUSTERS; do
mysqlstatus "$mysqldir"