Databases
Manage MySQL Server
Update the servers SQL configuration.
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.
post/update_sql_config
Request body
Example request
{
"data": [
{
"name": "max_allowed_packet",
"section": "mysqld",
"value": "268435456"
}
]
}Response
HTTP Request was successful.
Example response
{
"metadata": {
"command": "update_sql_config",
"reason": "OK",
"result": 1,
"version": 1
}
}