mysql_install_db man page on YellowDog

Man page or keyword search:  
man Server   18644 pages
apropos Keyword Search (all sections)
Output format
YellowDog logo
[printable version]

MYSQL_INSTALL_DB.ds an-sectioMySQL)DatabaseMYSQL_INSTALL_DB.ds an-section "1()

NAME
       mysql_install_db - MySQL data directory initialization script

SYNOPSIS
       mysql_install_db [options]

DESCRIPTION
       mysql_install_db initializes the MySQL data directory and creates the
       system tables that it contains, if they do not exist. Because the MySQL
       server, mysqld, needs to access the data directory when it runs later,
       you should either run mysql_install_db from the same account that will
       be used for running mysqld or run it as root and use the --user option
       to indicate the username that mysqld will run as.

       To invoke mysql_install_db, use the following syntax:

	  shell> mysql_install_db [options]

       mysql_install_db needs to invoke mysqld with the --bootstrap and
       --skip-grant-tables options (see Section 4.14.2, “Typical configure
       Options”). If MySQL was configured with the --disable-grant-options
       option, --bootstrap and --skip-grant-tables will be disabled. To handle
       this, set the MYSQLD_BOOTSTRAP environment variable to the full
       pathname of a server that has all options enabled.  mysql_install_db
       will use that server.

       mysql_install_db supports the following options:

       ·  --basedir=path

	  The path to the MySQL installation directory.

       ·  --force

	  Causes mysql_install_db to run even if DNS does not work. In that
	  case, grant table entries that normally use hostnames will use IP
	  addresses.

       ·  --datadir=path, --ldata=path

	  The path to the MySQL data directory.

       ·  --rpm

	  For internal use. This option is used by RPM files during the MySQL
	  installation process.

       ·  --skip-name-resolve

	  Use IP addresses rather than hostnames when creating grant table
	  entries. This option can be useful if your DNS does not work.

       ·  --srcdir=path

	  For internal use. The directory under which mysql_install_db looks
	  for support files such as the error message file and the file for
	  populating the help tables. This option was added in MySQL 5.0.32.

       ·  --user=user_name

	  The login username to use for running mysqld. Files and directories
	  created by mysqld will be owned by this user. You must be root to
	  use this option. By default, mysqld runs using your current login
	  name and files and directories that it creates will be owned by you.

       ·  --verbose

	  Verbose mode. Print more information about what the program does.

       ·  --windows

	  For internal use. This option is used for creating Windows
	  distributions.

COPYRIGHT
       Copyright 1997-2007 MySQL AB

       This documentation is NOT distributed under a GPL license. Use of this
       documentation is subject to the following terms: You may create a
       printed copy of this documentation solely for your own personal use.
       Conversion to other formats is allowed as long as the actual content is
       not altered or edited in any way. You shall not publish or distribute
       this documentation in any form or on any media, except if you
       distribute the documentation in a manner similar to how MySQL
       disseminates it (that is, electronically for download on a Web site
       with the software) or on a CD-ROM or similar medium, provided however
       that the documentation is disseminated together with the software on
       the same medium. Any other use, such as any dissemination of printed
       copies or use of this documentation, in whole or in part, in another
       publication, requires the prior written consent from an authorized
       representative of MySQL AB. MySQL AB reserves any and all rights to
       this documentation not expressly granted above.

       Please email <docs@mysql.com> for more information.

SEE ALSO
       For more information, please refer to the MySQL Reference Manual, which
       may already be installed locally and which is also available online at
       http://dev.mysql.com/doc/.

AUTHOR
       MySQL AB (http://www.mysql.com/).  This software comes with no
       warranty.

MySQL 5.0			  07/04/200MYSQL_INSTALL_DB.ds an-section "1()
[top]

List of man pages available for YellowDog

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net