obclient [SYS]> create table testuser.test as select * from dba_users;
ERROR-02013: Lost connection to MySQL server during query
obclient [SYS]>
obclient [SYS]> create table testuser.test as select * from dba_users;
ERROR-02006: OceanBase server has gone away
No connection. Trying to reconnect…
Connection id: 45905
Current database: SYS
ERROR-02013: Lost connection to MySQL server during query
–查看官网的案例,貌似不对,还是报错
https://www.oceanbase.com/docs/enterprise-oceanbase-database-cn-10000000000945600
obclient [SYS]> show variables like '%timeout%';
+---------------------+------------------+
| VARIABLE_NAME | VALUE |
+---------------------+------------------+
| connect_timeout | 10 |
| interactive_timeout | 28800 |
| net_read_timeout | 30 |
| net_write_timeout | 10000 |
| ob_pl_block_timeout | 3216672000000000 |
| ob_query_timeout | 7200000000 |
| ob_trx_idle_timeout | 7200000000 |
| ob_trx_lock_timeout | -1 |
| ob_trx_timeout | 7200000000 |
| wait_timeout | 259200 |
+---------------------+------------------+
10 rows in set (0.005 sec)