Get or reset the MySQL root password
danger_mysql_root_passwordRead or set the MySQL root password on an aaPanel server, but only when AAPANEL_ALLOW_DANGEROUS is enabled; otherwise access is denied.
Instructions
Read the MySQL root password, or set a new one when password is supplied. This is the highest-privilege credential on the box: the server refuses to expose it unless AAPANEL_ALLOW_DANGEROUS is set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Config row id. | |
| key | No | Key to read, normally mysql_root. | mysql_root |
| table | No | Table to read, normally config. | config |