企业🤖AI Agent构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
[TOC] ## 问题 ### libssl.so.6 与 libcrypto.so.6 不存在 ``` ln -s /usr/lib64/libssl.so.10 /usr/lib64/libssl.so.6 ln -s /usr/lib64/libcrypto.so.10 /usr/lib64/libcrypto.so.6 ``` [App端](../App%E7%AB%AF.md) ### 当自己表与系统表冲突时,必须系上模式 方式一: 如 `sys_config` 存在冲突,需要加上`public.sys_config` 方式二: 修改 kingbase.conf 文件,[参考](https://bbs.kingbase.com.cn/wenda/question/121.html) 修改为 `search_path = '"$USER", PUBLIC,SYS_CATALOG' ` ### UID 是关键词需要加引号 ``` DROP TABLE IF EXISTS hs_app_center; -- uid 是关键字,加双引号 CREATE TABLE hs_app_center ( ID int NOT NULL, TOKEN varchar(255) NOT NULL DEFAULT '', "UID" varchar(255) NOT NULL DEFAULT '', APP_ID varchar(100), EXPIRED_TIME int NOT NULL DEFAULT 0, CLIENT_TYPE int NOT NULL DEFAULT 0 , PRIMARY KEY (ID) ); ``` ### 如果数据库无法删除,重启服务 ### NULL 与 空字符串 方式一: [ora_input_emptystr_isnull参数举例说明 ](https://bbs.kingbase.com.cn/wenda/question/12.html) ``` ora_input_emptystr_isnull = true // (默认) 使用 Oracle 模式所有空字符串转为NULL ora_input_emptystr_isnull = false // 使用 mysql 模式 NULL 与空字符串同时存在 ``` 执行 sql `SHOW ora_input_emptystr_isnull;` 查看开启情况 修改位置在 data/kingbase.conf 方式二: 创建表时不要加 `NOT NULL`