- 博客(20)
- 收藏
- 关注
原创 mysql服务名无效
1.在mysql bin目录下执行(后边那个mysql是服务名,可替换)显示服务名无效,注册表里也找不到mysql了。windows mysql打不开了,
2024-02-29 16:25:10
723
原创 Linux截取csv的一半
data.csv是原始文件,data1是裁剪后的,只包含了原始文件的前50%行数据。可以使用head命令结合管道符号(|)来完成。
2024-01-10 16:49:47
513
原创 postgresql+TDengine双数据源pagehelper分页报错syntax error near “offset 20 limit 10“
当前用的pagehelper-spring-boot-starter 1.4.1版本,pagehelper5.几之后的版本才支持了postgresql分页。pg和tdengine的分页可以都用pg的方言,直接升级到1.4.5,都变成了limit 10 offset 20,解决。把自动切换方言的关一下,设置auto-runtime-dialect: false。
2023-07-17 18:50:20
723
1
原创 postgresql插入数据报错 invalid INSERT on the root table of hypertable
从别的库备份数据过来后,超级表插入数据报错。
2023-06-02 10:33:39
1286
3
原创 pg-windows安装及新建数据库
该例子创建了一个testUser的角色,注意这里面不是用户,而是角色,U选项指出了你想要建立的新用户的编号。必须是PostgreSQL的用户才能建立用户,通常情况下就是postgres用户。-P选项通知createuser提示输入新用户的密码。与安装目录里的bin同级的pgAdmin 4文件夹进去后,再进去bin,双击pgAdmin4.exe文件。4. 报错了,没权限,去pgAdmin 4开一下。pgAamin 4里注册服务。填写连接为localhost。
2023-04-19 18:22:09
1551
原创 HBase新增表显示已存在,shell里list不存在
HBase异常断电恢复后,某个表暴力删除后,新增该表显示已存在暴力删除步骤60010端口页面显示,该表处于RIT状态这个时候drop会卡住。1.删除HDFS上的数据hadoop fs -mv /hbase/default/[table_name] /tmp2.使用hbck进行修复hbase hbck -fixMeta -fixAssignment3.重启HBase修复步骤暴力删除后,新建该表,表名未变,显示该表已存在,shell里!list列表没有,zookooper里也找不到该文
2022-01-05 18:55:14
1129
转载 docker容器内,phoenix中文乱码
docker容器内,phoenix中文乱码具体表现为,中文全是???将docker容器的语言环境改为中文的操作如下① 查看当前语言环境# locale[root@node /]# localeLANG=LC_CTYPE="POSIX"LC_NUMERIC="POSIX"LC_TIME="POSIX"LC_COLLATE="POSIX"LC_MONETARY="POSIX"LC_MESSAGES="POSIX"LC_PAPER="POSIX"LC_NAME="POSIX"LC_
2021-08-17 15:59:05
375
转载 Inconsistent namespace mapping properties.
phoenix报错:Inconsistent namespace mapping properties.com.zaxxer.hikari.pool.HikariPool.throwPoolInitializationException(593)|MyHikariCP - Exception during pool initialization.java.sql.SQLException: ERROR 726 (43M10): Inconsistent namespace mapping proper
2021-08-17 15:55:57
728
转载 el-select内容过长超过边框
el-select内容过长,设置超出长度用省略号来表示style scoped,以下包含穿透scoped.[class名] /deep/ .el-select__tags-text { display: inline-block; max-width: 135px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}.[class名] /deep/ .el-tag__close.el-icon-clo
2021-01-14 14:02:08
3258
原创 win10打开excel和word报错0xc000012f
win10打开excel和word报错0xc000012f如图,解决办法:office自带的修复工具,修复即可。具体步骤详见office官网,搜索内容为Repair an Office application。灵感来自https://answers.microsoft.com/en-us/msoffice/forum/msoffice_word-mso_win10-mso_2013_release/error-status-0xc000012f-when-using-microsoft/aa43f
2020-10-19 13:39:00
2854
2
原创 mybatis 数据库模糊查询
用字符串拼接即可 <where> <if test="name != null"> and name like "%" #{name,jdbcType=VARCHAR } "%" </if> </where>...
2019-08-14 15:02:03
144
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人