CMDCommand · run as root on the server · database family
urbestack-database-adopt
First published 3 Oct 2026
0.1.0Unchanged since publicationUsage
# urbestack-database-adopt --name NAME --user CUSTOMER [--dry-run]Description
From the command's --help outputAssigns an existing MariaDB database with no recorded owner to the customer named by --user. Use it for a database created at the shell or restored before its UrbeStack records. UrbeStack then lists, grants access to, exports and drops the database as the customer's. If database.enabled is on and MariaDB is installed, adopting the database also updates the MariaDB grants for the customer's phpMyAdmin user.Usage: urbestack-database-adopt --name NAME --user CUSTOMER [--dry-run] Assigns an existing MariaDB database with no recorded owner to the customer named by --user. Use it for a database created at the shell or restored before its UrbeStack records. UrbeStack then lists, grants access to, exports and drops the database as the customer's. If database.enabled is on and MariaDB is installed, adopting the database also updates the MariaDB grants for the customer's phpMyAdmin user.
Options
Find other commands that accept these optionsSame in the API
This operation runs the command.Generated from release 0.2.35 (current) · urbestack-database-adopt --help outputThis entry has been unchanged since it was first published in release 0.1.0 on 3 Oct 2026.
urbestack.com/docs/commands/urbestack-database-adopt/