1.

Which script initializes the data directory during installation?(a) mysql_install_db(b) mysql_install_dbm(c) mysql_init_db(d) mysql_init_dbmThis question was addressed to me in unit test.My question is from Securing a New MySQL Installation in portion General MySQL Administration of MySQL

Answer»

The correct answer is (a) mysql_install_db

To elaborate: The data directory is initialized during the installation by ‘mysql_install_db’. If MYSQL is INSTALLED on LINUX from RPM packages then ‘mysql_install_db’ is RUN AUTOMATICALLY.



Discussion

No Comment Found

Related InterviewSolutions