In Ubuntu 16.04, MySQL version is 5.7 where mysql_install_db is deprecated and the functionality has been integrated into mysqld itself. To initialize a MySQL installation, call "mysqld --initialize". Note that having an existing /var/lib/mysql directory will fail the initialization.
https:/ /dev.mysql. com/doc/ refman/ 5.7/en/ mysql-install- db.html
In Ubuntu 16.04, MySQL version is 5.7 where mysql_install_db is deprecated and the functionality has been integrated into mysqld itself. To initialize a MySQL installation, call "mysqld --initialize". Note that having an existing /var/lib/mysql directory will fail the initialization.
https:/ /dev.mysql. com/doc/ refman/ 5.7/en/ mysql-install- db.html has the steps.