暂无图片
help帮助问题
我来答
分享
暂无图片 匿名用户
help帮助问题

ob:4.1.0
问题:通过obd安装部署后 发现一个"鸡生蛋、蛋生鸡"的问题


obclient [(none)]> help

General information about OceanBase can be found at
https://www.oceanbase.com

List of all client commands:
Note that all text commands must be first on line and end with ';'
?         (\?) Synonym for `help'.
clear     (\c) Clear the current input statement.
connect   (\r) Reconnect to the server. Optional arguments are db and host.
conn      (\) Reconnect to the server. Optional arguments are db and host.
delimiter (\d) Set statement delimiter.
edit      (\e) Edit command with $EDITOR.
ego       (\G) Send command to OceanBase server, display result vertically.
exit      (\q) Exit mysql. Same as quit.
go        (\g) Send command to OceanBase server.
help      (\h) Display this help.
nopager   (\n) Disable pager, print to stdout.
notee     (\t) Don't write into outfile.
pager     (\P) Set PAGER [to_pager]. Print the query results via PAGER.
print     (\p) Print current command.
prompt    (\R) Change your mysql prompt.
quit      (\q) Quit mysql.
rehash    (\#) Rebuild completion hash.
source    (\.) Execute an SQL script file. Takes a file name as an argument.
status    (\s) Get status information from the server.
system    (\!) Execute a system shell command.
tee       (\T) Set outfile [to_outfile]. Append everything into given outfile.
use       (\u) Use another database. Takes database name as argument.
charset   (\C) Switch to another charset. Might be needed for processing binlog with multi-byte charsets.
warnings  (\W) Show warnings after every statement.
nowarning (\w) Don't show warnings after every statement.

For server side help, type 'help contents'

obclient [(none)]> HELP SELECT

Nothing found
Please try to run 'help contents' for a list of all accessible topics

obclient [(none)]> help contents

Nothing found

Please check if 'help tables' are loaded.

obclient [(none)]> help tables

Nothing found
Please try to run 'help contents' for a list of all accessible topics
我来答
添加附件
收藏
分享
问题补充
2条回答
默认
最新
O
OceanBase社区传送门

要往一些内部表先加载一批数据才能用这个 help 的功能,详见:https://www.oceanbase.com/docs/common-oceanbase-database-cn-1000000000036118 3
这里 ob 做的不好,Please check if ‘help tables’ are loaded. 的本意应该是让您检查和 help 相关的几张表中是否加载了数据,而不是去执行 help tables,这里我和您一样一开始都理解错了。而且这些数据应该在集群 reboot 的时候自动加载

暂无图片 评论
暂无图片 有用 0
O
OceanBase社区传送门

[admin@obvos-dev-d3 /home/xiaofeng.lby/work/obn/code_master]
$find . -name fill*sql
./src/sql/fill_help_tables-ob.sql

[admin@obvos-dev-d3 /home/xiaofeng.lby/work/obn/code_master]
$obclient -h 11.124.9.58 -u root@sys -P2881 -Doceanbase -p'AAaa11__' -A
obclient: [Warning] Using a password on the command line interface can be insecure.
Welcome to the OceanBase monitor. Commands end with ; or \g.
Your OceanBase connection id is 3221527758
Server version: 5.7.25 OceanBase_CE 4.2.0.0 (r1-dd9d843177c10c9411ae6471089c69e8a80ae392) (Built Sep 20 2023 11:22:39)

Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

obclient> source ./src/sql/fill_help_tables-ob.sql

obclient> help

For information about MySQL products and services, visit:
http://www.mysql.com/
For developer information, including the MySQL Reference Manual, visit:
http://dev.mysql.com/
To buy MySQL Enterprise support, training, or other products, visit:
https://shop.mysql.com/

List of all MySQL commands:
Note that all text commands must be first on line and end with ';'
? (\?) Synonym for `help'.
clear (\c) Clear the current input statement.
connect (\r) Reconnect to the server. Optional arguments are db and host.
conn (\) Reconnect to the server. Optional arguments are db and host.
delimiter (\d) Set statement delimiter.
edit (\e) Edit command with $EDITOR.
ego (\G) Send command to mysql server, display result vertically.
exit (\q) Exit mysql. Same as quit.
go (\g) Send command to mysql server.
help (\h) Display this help.
nopager (\n) Disable pager, print to stdout.
notee (\t) Don't write into outfile.
pager (\P) Set PAGER [to_pager]. Print the query results via PAGER.
print (\p) Print current command.
prompt (\R) Change your mysql prompt.
qui

暂无图片 评论
暂无图片 有用 0
回答交流
提交
问题信息
请登录之后查看
邀请回答
暂无人订阅该标签,敬请期待~~
暂无图片墨值悬赏