根据官方文档进行手动进行TPC-H测试,导入数据时报错:ERROR 1227 (42501) at line 1: Access denied’
使用的用户是新建的test_tpch,白名单显示:
根据社区教程:
1.“grant file on .”报错ERROR 1045 (42000): Access denied for user ‘test_tpch’@’%’ (using password: NO);
2. obclient> set global secure_file_priv = ‘/’;
ERROR 1235 (0A000): modify SECURE_FILE_PRIV not by unix socket connection not supported;
都无法解决
您发的这个链接失效了。
$obd --version
OceanBase Deploy: 2.5.0
REVISION: 582dec0e9bece2d738ab1d65b59bd6a599271281
BUILD_BRANCH: HEAD
BUILD_TIME: Dec 29 2023 11:45:51OURCE
Copyright (C) 2021 OceanBase
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
我查看测试租户test_tpch
obclient [oceanbase]> select name, value from CDB_OB_SYS_VARIABLES where tenant_id=(select tenant_id from dba_ob_tenants where tenant_name=‘test_tpch’) and name like ‘%tcp’;
Empty set (0.003 sec)
obclient [oceanbase]> alter tenant test_tpch set variables ob_tcp_invited_nodes=’%’;
Query OK, 0 rows affected (0.002 sec)
obclient [(none)]> SHOW VARIABLES LIKE ‘ob_tcp_invited_nodes’;
±---------------------±------+
| Variable_name | Value |
±---------------------±------+
| ob_tcp_invited_nodes | % |
±---------------------±------+
1 row in set (0.001 sec)