Note: This version of the VDT (1.8.0) is no longer supported. Feel free to look through the documentation and install it, but we cannot guarantee support for it. 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 install the
mysql init script in /etc/init.d, make
appropriate run level links and start the server. For n remove
any existing mysql init from /etc/init.d.
- --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
-