Table of Contents [+/-] After installing MySQL on Unix, you must
initialize the grant tables, start the server, and make sure
that the server works satisfactorily. You may also wish to
arrange for the server to be started and stopped automatically
when your system starts and stops. You should also assign
passwords to the accounts in the grant tables. On Unix, the
grant tables are set up by the mysql_install_db program. For
some installation methods, this program is run for you
automatically if an existing database cannot be found. If you
install MySQL on Linux using RPM distributions, the server RPM
runs mysql_install_db. Using the native packaging system on many
platforms, including Debian Linux, Ubuntu Linux, Gentoo Linux
and others, the mysql_install_db command is run for you. If you
install MySQL on Mac OS X using a DMG distribution, the
installer runs mysql_install_db. For other platforms and
installation types, including generic binary and source
installs, you will need to run mysql_install_db yourself.