You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: there is no user admin reported when altering account #12043
- Version or commit-id (e.g. v0.1.0 or 8b23a93): nightly-898ac286
- Hardware parameters:
- OS type:
- Others:
Actual Behavior
"error": "Error 20101 (HY000): internal error: there is no user admin", "elapsed": "1.806805ms", "rows": 0, "sql": "alter account `5957e965_9756_44d4_ae8e_65e0601e2078` admin_name 'admin' identified by 'xx';"
Expected Behavior
Alter account successfully.
Steps to Reproduce
NA
Additional information
Two accounts with the same name are created:
MySQL [mo_catalog]> select * from mo_account where account_name = '5957e965_9756_44d4_ae8e_65e0601e2078';
+------------+--------------------------------------+--------+---------------------+----------+-----------+---------------------+
| account_id | account_name | status | created_time | comments | version | suspended_time |
+------------+--------------------------------------+--------+---------------------+----------+-----------+---------------------+
| 294603001 | 5957e965_9756_44d4_ae8e_65e0601e2078 | open | 2023-10-08 06:37:17 | | 294600005 | 2023-10-08 10:30:59 |
| 294603002 | 5957e965_9756_44d4_ae8e_65e0601e2078 | open | 2023-10-08 06:37:54 | | 294600005 | 2023-10-08 10:30:59 |
+------------+--------------------------------------+--------+---------------------+----------+-----------+---------------------+
Activity
aressu1985 commentedon Oct 10, 2023
这个看着就是这个租户没有admin这个user呀,查一下租户下的mo_catalog.mo_user表中是否存在admin这个用户,或者确认一下创建租户的时候,admin_name是不是’admin‘呀
YANGGMM commentedon Oct 11, 2023
can not find log in loki,waitting cn ready
YANGGMM commentedon Oct 13, 2023
pr merge, watching the result
YANGGMM commentedon Oct 16, 2023
waitting
YANGGMM commentedon Oct 17, 2023
still working
DanielZhangQD commentedon Oct 18, 2023
2023-10-10T10:07:59Z 创建 freetier-01 后,所有实例创建迁移到 freetier-01,到现在为止没有出现这个问题,暂时降级为 s0
YANGGMM commentedon Oct 23, 2023
still working
YANGGMM commentedon Oct 26, 2023
still working
YANGGMM commentedon Oct 31, 2023
still working
YANGGMM commentedon Nov 6, 2023
still working
YANGGMM commentedon Nov 9, 2023
still working
YANGGMM commentedon Nov 10, 2023
still working
YANGGMM commentedon Nov 15, 2023
still working
DanielZhangQD commentedon Nov 20, 2023
从这之后没有复现