随笔分类 - PostgreSQL
一款开源的、功能强大的关系型数据库
摘要:pgAdmin 报错:Utility file not found. Please correct the Binary Path in the Preferences dialog 一、问题说明 在使用 pgAdmin 对数据库进行导出的时候,弹出报错信息“Utility file not fou
阅读全文
摘要:PostgreSQL Unable to connect to server: XXX port 5432 failed: Connection refused 一、问题说明 使用 pgAdmin 连接本地的 PostgreSQL 时,报错“Unable to connect to server:
阅读全文
摘要:MyBatis-Plus Page 分页不生效 一、问题现象 使用 MyBatis-Plus 进行分页查询时,传入了 pageNum 和 pageSize,但是查询结果没有按照预期的效果返回。 二、问题原因 没有对 Mybatis-Puls 进行初始化,需要添加相应的配置类。 三、解决方案 在项目工
阅读全文
摘要:PostgreSQL 修改数据存储路径 0、版本说明 使用的 PostgreSQL 版本是14.X版本的。 1、创建需要存放数据的路径 mkdir -p /home/data/pg14/data 其中,/home/data/pg14/data 是数据需要存放的目录,可以根据实际情况进行修改。 2、设
阅读全文