Note: This version of the VDT (1.10.1) is supported, but is not our latest stable release. The current stable release is 2.0.0.
configure_mysql - MySQL configuration script
configure_mysql --server <y,n>
--root <root password>
--data <data location>
--vdt-install <VDT installation root>
- --server <y,n>
-
For y, prepare MySQL to be installed and started by vdt-control.
For n, describe MySQL for use by vdt-control, but do not enable.
- --root <root password>
-
Sets the inital root password for the database.
- --data <data location>
-
Store MySQL backend data in <data location>. Defaults to $VDT_LOCATION/vdt-app-data/mysql/var.
- --vdt-install <VDT installation root>
-
configure_mysql will look for the root of the VDT installation at
$VDT_LOCATION. If you do not have that set you can specify it
with --vdt-install instead.
- --help, --usage
-
Print a usage message.
By default the following changes are made to the stock MySQL configuration:
- MySQL is configured to store backend data at
$VDT_LOCATION/mysql/var or the value specified in --data.
-
- An open port is found to run the server on.
-
- The data store will be initialized with mysql_install_db if it
has not been already.
-
- If the mysql user exists MySQL is configured to run under it.
Otherwise daemon is used.
-
- The init script is modified to source the VDT setup.sh file
-