mirror of
https://github.com/MariaDB/server.git
synced 2025-01-24 07:44:22 +01:00
12 lines
344 B
Text
12 lines
344 B
Text
|
#!/bin/sh
|
||
|
if [ -z "$MYSQLCLUSTER_TOP" -o ! -d "$MYSQLCLUSTER_TOP" ]; then
|
||
|
echo "MYSQLCLUSTER_TOP not set or directory does not exist"
|
||
|
exit 1
|
||
|
fi
|
||
|
if [ -z "$MYSQLCLUSTER_TOP" -o ! -d "$MYSQLCLUSTER_TOP/ndb" ]; then
|
||
|
echo "$MYSQLCLUSTER_TOP/ndb directory does not exist"
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
mysql --socket=$MYSQLCLUSTER_TOP/data/mysqlcluster.sock $*
|