05 2023 档案

摘要:在新建数据库中执行还原表结构语句 db2 -tvf db.sql https://datageek.blog/2014/09/02/db2-basics-executing-a-script-of-sql/#:~:text=Here%20is%20the%20breakdown%20of%20the 阅读全文 »
posted @ 2023-05-22 14:28 ~博客~ 阅读(40) 评论(0) 推荐(0) 编辑
摘要:给用户赋予表的查询权限 db2 grant select on table ODS.T_TEST to user user_inst1 阅读全文 »
posted @ 2023-05-18 16:36 ~博客~ 阅读(532) 评论(0) 推荐(0) 编辑
摘要:DB2 给数据库中所有表 reorg ``` db2 -x "select 'reorg table '||tablename||';'from syscat.tables where tabschema='USER'" > reorgAllTables.sql db2 -tf reorgAllTa 阅读全文 »
posted @ 2023-05-18 16:33 ~博客~ 阅读(107) 评论(0) 推荐(0) 编辑
摘要:服务器部署应用 编译文件配置 项目日志配置 阅读全文 »
posted @ 2023-05-16 13:39 ~博客~ 阅读(15) 评论(0) 推荐(0) 编辑
摘要:在 Linux 系统中,你可以使用 find 命令来查找当前目录和子目录中的 .mp4 和 .jpg 文件,然后使用 cp 命令将它们复制到当前位置。下面是一个示例命令: find . -type f \( -name "*.mp4" -o -name "*.jpg" \) -exec cp {} 阅读全文 »
posted @ 2023-05-10 22:22 ~博客~ 阅读(434) 评论(0) 推荐(0) 编辑
摘要:在 /etc/profile 文件的末尾加上 echo 'export JAVA_HOME=/usr/jdk1.8.0_311' >> /etc/profile echo 'export PATH=$JAVA_HOME/bin:$PATH' >> /etc/profile source /etc/p 阅读全文 »
posted @ 2023-05-10 09:43 ~博客~ 阅读(14) 评论(0) 推荐(0) 编辑
摘要:在Java项目中嵌入H2数据库并启动它,通常有以下几种方式: 1. 使用JDBC URL连接 在你的Java代码中,你可以直接使用JDBC URL来连接到H2数据库。如果你的H2数据库文件已经存在,你可以使用如下代码: import java.sql.Connection; import java. 阅读全文 »
posted @ 2023-05-09 19:16 ~博客~ 阅读(983) 评论(0) 推荐(0) 编辑
摘要:域基本配置 新建计算机 环境->计算机-【新建】 部署应用 新建服务器 环境->服务器-【新建】 绑定计算机 配置数据源 服务->数据源->【新建】 计算机 服务器 部署 https://blog.csdn.net/cunfu/article/details/117738439 https://bl 阅读全文 »
posted @ 2023-05-09 16:53 ~博客~ 阅读(14) 评论(0) 推荐(0) 编辑
摘要:db2pd -db sample -hadr db2set -all https://blog.csdn.net/mnasd/article/details/120773761 阅读全文 »
posted @ 2023-05-08 13:43 ~博客~ 阅读(38) 评论(0) 推荐(0) 编辑
摘要:Linux 新建用户 给用户新建 home 目录 mkdir -p /home/username 新建用户并指定用户目录 useradd username -d /home/username 给用户目录赋权 chown -R username /home/username 修改用户密码 passwd 阅读全文 »
posted @ 2023-05-08 10:32 ~博客~ 阅读(57) 评论(0) 推荐(0) 编辑
摘要:由于文件中数据存在换行导致原本一行的数据被解析成两行,导致无法正常解析,丢失了该条记录 首要排除思路:文件中存在换行 阅读全文 »
posted @ 2023-05-06 16:53 ~博客~ 阅读(35) 评论(0) 推荐(0) 编辑
摘要:查看操作系统版本信息 cat /etc/issue 查找 DB2 安装路径,这里一般包含版本信息 find / -name db2sysc 查看 weblogic 版本 weblogic_path=$(find / -name "weblogic.jar" 2>/dev/null |grep "/w 阅读全文 »
posted @ 2023-05-06 09:47 ~博客~ 阅读(211) 评论(0) 推荐(0) 编辑
摘要:在备库进行查询时返回 SQLCODE=-1773 SQLSTAT= 如下查询可知 | -1773 | null | 在 HADR 数据库下不支持的操作(如备库可能不支持写操作) | https://blog.csdn.net/qq_35246620/article/details/56877433 阅读全文 »
posted @ 2023-05-05 16:27 ~博客~ 阅读(306) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示