Set database access
db_set_accessChange the allowed connection hosts for a database user by specifying the database name and comma-separated IPs or wildcard. Use it to restrict or expand remote access.
Instructions
Change which hosts a database user may connect from.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ssl | No | SSL mode; omit to leave unchanged. | |
| name | Yes | Database name. | |
| access | Yes | Comma-separated hosts, e.g. 127.0.0.1,1.1.1.1 or %. | |
| dataAccess | No | Mode: "ip" for specific hosts, "all" for any host. | ip |