mysql_create_system_tables is a helper script that is invoked by mysql_install_db to generate the SQL statements required to initialize any grant tables that do not exist.
Invoke mysql_create_system_tables like this:
shell> mysql_create_system_tables {test|verbose} path_to_mysql_database host_name windows_option
The first argument is test (create
entries for the test database) or
verbose (display more information while
the script runs. The second argument is the path to the
mysql database directory. The third
argument is the hostname to use in grant table entries. The
fourth argument is 1 if the script is being run to create
tables for use on Windows, 0 otherwise.

User Comments
Add your own comment.