配置phabricator需要mysql的管理员权限,如何才能使用RDS配置?
wenchang
2014-06-30 17:19:12
13080
最近准备使用phabricator来做代码review,安装过程一路畅通,单到最后的时候,phabricator提示:
Setup MySQL Schema
Run the storage upgrade script to setup Phabricator's database schema.
Run this command:phabricator/ $ ./bin/storage upgrade
运行后phabricator抛出异常:
EXCEPTION: (AphrontQueryException) #1725: OPERATION need to be executed set by ADMIN at [/src/aphront/storage/connection/mysql/AphrontMySQLDatabaseConnectionBase.php:311]
#0 AphrontMySQLDatabaseConnectionBase::throwQueryCodeException(integer, string) called at [/src/aphront/storage/connection/mysql/AphrontMySQLDatabaseConnectionBase.php:278]
#1 AphrontMySQLDatabaseConnectionBase::throwQueryException(mysqli) called at [/src/aphront/storage/connection/mysql/AphrontMySQLDatabaseConnectionBase.php:184]
#2 AphrontMySQLDatabaseConnectionBase::executeRawQuery(string) called at [/src/xsprintf/queryfx.php:9]
#3 queryfx(AphrontMySQLiDatabaseConnection, string, string) called at [/src/infrastructure/storage/management/PhabricatorStorageManagementAPI.php:190]
#4 PhabricatorStorageManagementAPI::applyPatchSQL(string) called at [/src/infrastructure/storage/management/workflow/PhabricatorStorageManagementUpgradeWorkflow.php:100]
#5 PhabricatorStorageManagementUpgradeWorkflow::execute(PhutilArgumentParser) called at [/src/parser/argument/PhutilArgumentParser.php:396]
#6 PhutilArgumentParser::parseWorkflowsFull(array) called at [/src/parser/argument/PhutilArgumentParser.php:292]
#7 PhutilArgumentParser::parseWorkflows(array) called at [/scripts/sql/manage_storage.php:115]
看样子大概是因为我提供的数据库用户不是root导致无法读取schema数据,请问这个问题有人遇到么?
SQL
关系型数据库
MySQL
数据库
RDS
添加回答
分享到