GithubHelp home page GithubHelp logo

Comments (7)

hnwyllmm avatar hnwyllmm commented on June 13, 2024

AgryDB 设置了名称区分大小写吗?
可以先试一下赋值权限 .

from oceanbase.

zhenghao9929 avatar zhenghao9929 commented on June 13, 2024

没有设置大小写 大小写都试过 update也是一样的提示

from oceanbase.

hnwyllmm avatar hnwyllmm commented on June 13, 2024

使用MySQL客户端或obclient插入数据也是提示没有权限吗?

from oceanbase.

zhenghao9929 avatar zhenghao9929 commented on June 13, 2024

就只有ef core会提示这个 并且使用ado 跑sql语句都正常

from oceanbase.

hnwyllmm avatar hnwyllmm commented on June 13, 2024

库链接字符串 server=;port=62883;database=;Uid=;Pwd=;SslMode=none

给个完整的看看?除了密码

生成的SQL语句可以在日志中捞出来看看确认一下。

from oceanbase.

zhenghao9929 avatar zhenghao9929 commented on June 13, 2024

库链接字符串 server=;port=62883;database=;Uid=;Pwd=;SslMode=none

给个完整的看看?除了密码

生成的SQL语句可以在日志中捞出来看看确认一下。

sql语句拿出来在DBeaver可以正常跑
server=[domain];port=62883;database=agrydb;Uid=agry@ca;Pwd=;SslMode=none

from oceanbase.

zhenghao9929 avatar zhenghao9929 commented on June 13, 2024

库链接字符串 server=;port=62883;database=;Uid=;Pwd=;SslMode=none

给个完整的看看?除了密码

生成的SQL语句可以在日志中捞出来看看确认一下。

[2024-05-06 14:16:06.635641] WDIAG check_single_table_priv (ob_schema_getter_guard.cpp:3340) [5337][T1004_L0_G0][T1004][YB420A0A3C0E-000617AF272DE687-0-0] [lt=40][errcode=-5171] INSERT command denied to user 'agry'@'%' for table 'tab_zaj_threeperson_zcsb'

[2024-05-06 14:16:06.635648] WDIAG [SHARE.SCHEMA] check_priv (ob_schema_getter_guard.cpp:3647) [5337][T1004_L0_G0][T1004][YB420A0A3C0E-000617AF272DE687-0-0] [lt=6][errcode=-5171] No privilege(tenant_id=1004, user_id=500002, need_priv=128, table=tab_zaj_threeperson_zcsb, db=AgryDB, user_priv=45632, ret=-5171, ret="OB_ERR_NO_TABLE_PRIVILEGE")

[2024-05-06 14:16:06.635657] WDIAG [SQL.SESSION] check_privilege (ob_privilege_check.cpp:2525) [5337][T1004_L0_G0][T1004][YB420A0A3C0E-000617AF272DE687-0-0] [lt=8][errcode=-5171] No privilege(session_priv={tenant_id:1004, effective_tenant_id:18446744073709551615, user_id:500002, user_name:"agry", host_name:"%", db:"agrydb", user_priv_set:45632, db_priv_set:5008}, disable check=0, ret=-5171)

[2024-05-06 14:16:06.635665] WDIAG [SQL] pc_get_plan (ob_sql.cpp:3927) [5337][T1004_L0_G0][T1004][YB420A0A3C0E-000617AF272DE687-0-0] [lt=8][errcode=-5171] No privilege(ret=-5171, stmt_need_priv={need_privs:[cnt:1, {db:"AgryDB", table:"tab_zaj_threeperson_zcsb", priv_set:128, priv_level:3, is_sys_table:false, is_for_update:false, priv_check_type:0}]})

[2024-05-06 14:16:06.635675] WDIAG [SQL] stmt_query (ob_sql.cpp:227) [5337][T1004_L0_G0][T1004][YB420A0A3C0E-000617AF272DE687-0-0] [lt=8][errcode=-5171] fail to handle text query(stmt=INSERT INTO tab_zaj_threeperson_zcsb (changetime, czjbr, czjbrdm, czjbrdwdm, hgzsbh, hzclWjName, hzclWjPath, kslb, ksqymc, ksqyxydm, kssj, OldXm, OldZjh, oldhgzsbh, oldzsqyid, oldzsqymc, oldzsyxjzrq, oldzsyxksrq, qysignYN, qysignedpath, qysignpath, qysignsj, qysigntoken, reqid, ryid, rylb, sblx, sbqyid, sbqymc, sbsj, sffddbr, xb, xm, zjh, zjlx, zsyxjzrq, zsyxksrq, zszxyy)
VALUES (NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 123, 1, 1, 1, NULL, NULL, timestamp('2024-05-06 14:15:45.333594'), NULL, '1', '123455', '123455', 1, NULL, NULL, NULL);, ret=-5171)

from oceanbase.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.