Set Read-Only Database
apex sys db set-readonly [ <ALIAS>] [--dbname=] [--user=] [--password=] [--host=] [--port=]
|
|
Set or overrite connection information of a read-only slave database.
|
Parameters
Parameter | Description |
---|---|
alias | The alias of the database connection, can be any alpha-numeric string. |
Flags
Flag | Description |
---|---|
--dbname | Optional database name. |
--user | Optional database username. |
--password | Optional database password. |
--host | Optional database host. |
--port | Optional database port. |
Examples
- ./apex sys db set-readonly db3