diff --git a/examples/local/env.sh b/examples/local/env.sh index 107b40a76f1..ef9a0c8538a 100644 --- a/examples/local/env.sh +++ b/examples/local/env.sh @@ -20,11 +20,11 @@ vtctld_web_port=15000 # Set up environment. export VTTOP=${VTTOP-$VTROOT/src/vitess.io/vitess} -# Try to find mysqld_safe on PATH. +# Try to find mysqld on PATH. if [ -z "$VT_MYSQL_ROOT" ]; then - mysql_path=`which mysqld_safe` + mysql_path=`which mysqld` if [ -z "$mysql_path" ]; then - echo "Can't guess location of mysqld_safe. Please set VT_MYSQL_ROOT so it can be found at \$VT_MYSQL_ROOT/bin/mysqld_safe." + echo "Can't guess location of mysqld. Please set VT_MYSQL_ROOT manually." exit 1 fi export VT_MYSQL_ROOT=$(dirname `dirname $mysql_path`)