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.
tungsten_get_mysql_datadir [ --debug
, -d
] [ --flavor
, -f
] [ --flavorful
, -F
] [ --help
, -h
] [ --verbose
, -v
]
Where:
Table 9.59. tungsten_get_mysql_datadir Command-line Options
The sudo command is used along with the which command to located the mysqld
executable so as to gather the defaults.