As per the mysql documentation,
https://dev.mysql.com/doc/refman/5.6/en/mysql-install-db.html, --ldata option for mysql_install_db is deprecated from 5.6.20 of mysql
Should replace it with --datadir
As per the mysql documentation,
https:/ /dev.mysql. com/doc/ refman/ 5.6/en/ mysql-install- db.html,
--ldata option for mysql_install_db is deprecated from 5.6.20 of mysql
Should replace it with --datadir