This function updates the database configuration file for MySQL® or MariaDB®.
Important:
When you disable the MySQL/MariaDB role and remote MySQL is not already configured, the system disables this function.
required | Array of objects Array of objects that contains the requested updates to the sql configuration. |
HTTP Request was successful.
object |
{- "data": [
- {
- "name": "max_allowed_packet",
- "section": "mysqld",
- "value": "268435456"
}
]
}
{- "metadata": {
- "command": "update_sql_config",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}