1# 2# Testing wl#10441: Add mysqld_safe-functionality to server 3# 4# Shutdown mysqld which is started by mtr. 5# Run -I on a new datadir 6# 7# Deduce --basedir when using full path to mysqld 8# Look for [ERROR] in error log (there should be none): 9# 10# Deduce --basedir when using path relative to CWD 11# Look for [ERROR] in error log (there should be none): 12# 13# Deduce --basedir when using bare executable name (PATH lookup) 14# Look for [ERROR] in error log (there should be none): 15# 16# Try invalid --log-error 17# Look for expected error in output: 18# Found expected error 19# 20# Try -D as shortcut for --daemonize option with invalid --log-error 21# Look for expected errors in output from launcher and daemon: 22# Found expected error from launcher process 23# Found expected error from daemon process 24# 25# Try using -D with relative path 26# Look for [ERROR] in error log (there should be none): 27# Look for output (there should be none): 28# Supressing output for initialize: 29# Wait for daemon server to start 30# Execute a query to see that it is running OK 31SHOW DATABASES; 32Database 33information_schema 34mtr 35mysql 36performance_schema 37sys 38test 39# Shutdown daemon 40# Wait until daemon is gone 41# 42# Cleanup 43# 44# 45# Restart mysqld of mtr 46# 47