phabricator mysql_配置phabricator需要mysql的管理员权限,如何才能使用RDS配置?-问答-阿里云开发者社区-阿里云...

在尝试使用Phabricator进行代码审查时,遇到了数据库升级错误,原因是使用的MySQL用户没有管理员权限。问题发生在执行storage upgrade脚本时,系统提示需要ROOT权限来执行某些操作。博客讨论了如何在不使用ROOT用户的情况下,解决Phabricator与RDS的配置问题。
摘要由CSDN通过智能技术生成

配置phabricator需要mysql的管理员权限,如何才能使用RDS配置?

22283cd593a577d6da931f337923c1a0.png

wenchang

45e3020af9af1140b1017f2205d095cc.png2014-06-30 17:19:12

d798736ade3a7fee6abee60a5c012ccd.png

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

d849fa93b5a62862f88d5e5121f586d5.png

添加回答

分享到

gAAAABJRU5ErkJgggAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值