Skip to Content
Browse documentation

setupmysql — Command Reference

Install Percona MySQL or reset its root password.

Install Percona MySQL or reset its root password.

Requirements

Run as root on the Eenos server. Supported OS/repositories and independent database backups. Review integrations that rely on the old root credential.

Usage

The following example uses the operation described below; replace example identities and paths before use:

/usr/local/eenos/scripts/setupmysql --install

Arguments and options

Argument / optionUsage and meaning
-i, --installFlag. Install Percona MySQL Server
-rp, --resetrootpwdFlag. Re-set MySQL Root Password

-h, --help displays this parser's help. Selectors in the same mutually exclusive group cannot be combined. The installed version remains authoritative for available options.

Operational effects

Changes database packages/configuration or administrative credentials; reset restarts MySQL and runs a status command.

Verify the result

Verify MySQL health and both panel/application database connectivity.

Check operation output and the relevant service/application state. Several legacy wrappers exit successfully after logging a handler failure, so a zero shell exit status alone is not proof of completion.

Back to Service Setup · All command-line tools