The tungsten_get_mysql_datadir Command
The tungsten_get_mysql_datadir command will gather and display actual running values
for the data directory (datadir) checked against multiple sources (running mysql value, mysqld default value
and the tungsten configuration) and then resolve any sym-links to the physical destination.
Usage
tungsten_get_mysql_datadir [option]
Where:
| Option | Description |
|---|---|
--debugAliases: -d | |
--flavorAliases: -f | Also print out the MySQL server type as a tag in lower case (i.e. mysql, percona or mariadb) |
--flavorfulAliases: -F | Also print out the MySQL server type (i.e. MySQL Community, Percona Server or MariaDB Server) |
--helpAliases: -h | Show help text. |
--verboseAliases: -v |
The sudo command is used along with the which command to locate the mysqld executable so as to gather the
defaults.