Steps to reproduce:
- Checkout mediawiki-vagrant and vagrant up.
- git-update and vagrant provision until the bleeding stops
- vagrant roles enable striker
- vagrant provision
- vagrant git-update because provision failed
- vagrant provision becomes stuck at the phab_setup_db step
Actual results:
==> default: Notice: /Stage[main]/Phabricator/Exec[phab_setup_db]/returns: [2021-01-14 00:19:52] EXCEPTION: (PhutilProxyException) Failed while trying to read schema status: the database "phabricator_meta_data" exists, but the current user ("phabricator") does not have permission to access it. GRANT the current user more permissions, or use a different user. {>} (AphrontAccessDeniedQueryException) #1044: Access denied for user 'phabricator'@'localhost' to database 'phabricator_meta_data' at [<phabricator>/src/infrastructure/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php:350]
Expected results:
Provisioning succeeds
I haven't figured out where that database exists if it does, because running mysql in the shell produced:
MariaDB [wiki]> show databases; +--------------------+ | Database | +--------------------+ | information_schema | | keystone | | ldapauthwiki | | mysql | | performance_schema | | striker | | wiki | | wikishared | +--------------------+ 8 rows in set (0.00 sec)
If I can fix this, I'll update the task here. If someone else figures out what's wrong or what I'm doing wrong, even better 😁