## packages used for tests [umshastr@hod03]/export/umesh/server/source/bugs/84173: md5sum mysql-boost-5.7.16.tar.gz f7724b816919878760b5c7c9956e6508 mysql-boost-5.7.16.tar.gz [umshastr@hod03]/export/umesh/server/source/bugs/84173: [umshastr@hod03]/export/umesh/server/source/bugs/84173: md5sum mysql-boost-5.7.17.tar.gz cfabc622427f149a8b8301a251a0484d mysql-boost-5.7.17.tar.gz -- 5.7.17 - mysqld_safe does require not just basedir but also datadir cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_CONFIG=mysql_release -DFEATURE_SET=community -DWITH_EMBEDDED_SERVER=OFF -DDOWNLOAD_BOOST=1 -DWITH_BOOST=./boost -DWITH_ZLIB=bundled -DWITH_SSL=system -DCMAKE_INSTALL_PREFIX=/export/umesh/server/source/bugs/84173/5.7.17 time make -j16 make install && make clean cd /export/umesh/server/source/bugs/84173/5.7.17 rm -rf data/ bin/mysqld --no-defaults --initialize-insecure --basedir=/export/umesh/server/source/bugs/84173/5.7.17 --datadir=/export/umesh/server/source/bugs/84173/5.7.17/data -v bin/mysqld --no-defaults & <-- this works [umshastr@hod03]/export/umesh/server/source/bugs/84173/5.7.17: bin/mysqld_safe --no-defaults & [1] 12809 [umshastr@hod03]/export/umesh/server/source/bugs/84173/5.7.17: 2016-12-13T08:50:09.652841Z mysqld_safe Logging to './data/hod03.err'. 2016-12-13T08:50:09.656332Z mysqld_safe Logging to './data/hod03.err'. 2016-12-13T08:50:09.696982Z mysqld_safe Starting mysqld daemon with databases from ./data 2016-12-13T08:50:09.950843Z mysqld_safe mysqld from pid file ./data/hod03.pid ended -- mysqld_safe failes though [1]+ Done bin/mysqld_safe --no-defaults [umshastr@hod03]/export/umesh/server/source/bugs/84173/5.7.17: [umshastr@hod03]/export/umesh/server/source/bugs/84173/5.7.17: bin/mysqld_safe --no-defaults --basedir=/export/umesh/server/source/bugs/84173/5.7.17 & [1] 12891 [umshastr@hod03]/export/umesh/server/source/bugs/84173/5.7.17: 2016-12-13T08:50:30.651747Z mysqld_safe Logging to './data/hod03.err'. 2016-12-13T08:50:30.654611Z mysqld_safe Logging to './data/hod03.err'. 2016-12-13T08:50:30.679230Z mysqld_safe Starting mysqld daemon with databases from ./data 2016-12-13T08:50:30.928783Z mysqld_safe mysqld from pid file ./data/hod03.pid ended [1]+ Done bin/mysqld_safe --no-defaults --basedir=/export/umesh/server/source/bugs/84173/5.7.17 [umshastr@hod03]/export/umesh/server/source/bugs/84173/5.7.17: cat ./data/hod03.err 2016-12-13T08:50:09.656332Z mysqld_safe Logging to './data/hod03.err'. 2016-12-13T08:50:09.696982Z mysqld_safe Starting mysqld daemon with databases from ./data 2016-12-13T08:50:09.950843Z mysqld_safe mysqld from pid file ./data/hod03.pid ended 2016-12-13T08:50:30.654611Z mysqld_safe Logging to './data/hod03.err'. 2016-12-13T08:50:30.679230Z mysqld_safe Starting mysqld daemon with databases from ./data 2016-12-13T08:50:30.928783Z mysqld_safe mysqld from pid file ./data/hod03.pid ended -- 5.7.16 - mysqld_safe works just as expected i.e with/without basedir/datadir cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_CONFIG=mysql_release -DFEATURE_SET=community -DWITH_EMBEDDED_SERVER=OFF -DDOWNLOAD_BOOST=1 -DWITH_BOOST=./boost -DWITH_ZLIB=bundled -DWITH_SSL=system -DCMAKE_INSTALL_PREFIX=/export/umesh/server/source/bugs/84173/5.7.16 time make -j16 make install && make clean cd /export/umesh/server/source/bugs/84173/5.7.16 rm -rf data/ bin/mysqld --no-defaults --initialize-insecure --basedir=/export/umesh/server/source/bugs/84173/5.7.16 --datadir=/export/umesh/server/source/bugs/84173/5.7.16/data -v bin/mysqld --no-defaults & <-- this works -- mysqld_safe works even without basedir/datadir which wasn't the case for 5.7.17 [umshastr@hod03]/export/umesh/server/source/bugs/84173/5.7.16: bin/mysqld_safe --no-defaults & [1] 29597 [umshastr@hod03]/export/umesh/server/source/bugs/84173/5.7.16: 2016-12-13T09:09:41.614886Z mysqld_safe Logging to '/export/umesh/server/source/bugs/84173/5.7.16/data/hod03.err'. 2016-12-13T09:09:41.641543Z mysqld_safe Starting mysqld daemon with databases from /export/umesh/server/source/bugs/84173/5.7.16/data [umshastr@hod03]/export/umesh/server/source/bugs/84173/5.7.16: bin/mysql -uroot Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 2 Server version: 5.7.16 MySQL Community Server (GPL) Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. root@localhost [(none)]> \q Bye