HomePhorge

Improve schema upgrade workflow for unprivileged users

Description

Improve schema upgrade workflow for unprivileged users

Summary:
In a basically reasonable configuration where you connect
with a non-privileged user from the web workflow, upgrade_schema.php
won't have enough privileges. Allow the user to override the normal
auth with -u and -p.

Test Plan:
Tried to do a schema upgrade with an underprivileged user,
got a useful error message instead of garbage.

Reviewed By: Girish
Reviewers: Girish, davidrecordon, jungejason, tuomaspelkonen, aran
CC: aran, epriestley, Girish
Differential Revision: 191

Details

Provenance
epriestleyAuthored on Apr 30 2011, 12:18 AM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP3e2f6481750a: Use define() instead of PHP 5.3-only global 'const' in upgrade_schema.php
Branches
Unknown
Tags
Unknown

Event Timeline