Originally filed on GitHub/phacility/phabricator/#795
Running:
- phacility/arcanist@1a3afa4
- phacility/libphutil@cab51ef
- phacility/phabricator@c3913f5
- MariaDB 5.5.40
- PHP 5.4.16
Executing bin/storage databases doesn't list the DB phabricator_timeline, but when running bin/storage destroy it tries to DROP this DB and then fails like this:
Dropping database 'phabricator_slowvote'... Dropping database 'phabricator_timeline'... [2015-01-26 19:12:19] EXCEPTION: (AphrontAccessDeniedQueryException) #1044: Access denied for user 'phabricator_base'@'localhost' to database 'phabricator_timeline' at [<phutil>/src/aphront/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php:301] #0 AphrontBaseMySQLDatabaseConnection::throwQueryCodeException(integer, string) called at [<phutil>/src/aphront/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php:275] #1 AphrontBaseMySQLDatabaseConnection::throwQueryException(mysqli) called at [<phutil>/src/aphront/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php:181] #2 AphrontBaseMySQLDatabaseConnection::executeRawQuery(string) called at [<phutil>/src/xsprintf/queryfx.php:6] #3 queryfx(AphrontMySQLiDatabaseConnection, string, string) called at [<phabricator>/src/infrastructure/storage/management/workflow/PhabricatorStorageManagementDestroyWorkflow.php:70] #4 PhabricatorStorageManagementDestroyWorkflow::execute(PhutilArgumentParser) called at [<phutil>/src/parser/argument/PhutilArgumentParser.php:396] #5 PhutilArgumentParser::parseWorkflowsFull(array) called at [<phutil>/src/parser/argument/PhutilArgumentParser.php:292] #6 PhutilArgumentParser::parseWorkflows(array) called at [<phabricator>/scripts/sql/manage_storage.php:171]