数据库
维诺菌
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Mybatis注解开发 @Select @Insert @Update @Delete
Mybatis注解开发 @Select @Insert @Update @Delete@Select用法如果未使用mybatis的动态标签,则不需要加<script></script>标签注意若数据库为在oracle,使用容易造成字段类型不匹配的问题@Mapperpublic interface RtcCheckParamBussDao { @Select(value = "<script>"+ "select count原创 2021-04-30 11:23:54 · 2524 阅读 · 2 评论 -
【ELK】Kibana Discover菜单使用
## Kibana Discover菜单使用 Discover菜单介绍 在搜索下拉框中列出了索引各个栏位的信息,根据提示可以筛选出对应的数据例如:搜索ID为11580040 不分词检索得到以下结果entityOrPersonId.keyword : 11580040我们可以点击展开文档的详细信息,文档详细信息为两种,一种按照字段key:value显示。一种为json。下图为按字段显示:下面为按JSON显示:{ "_index": "aml",原创 2021-04-28 10:05:05 · 1356 阅读 · 2 评论 -
【ELK】Kibana Logs使用
【ELK】Kibana Logs使用选择Logs页面进入如下图进入页面,主要分为两块。一块是event.dataset,一块是Message如上图我们对Message的OLRP02关键字进行筛选,右侧的图为日志输出的峰值图。语句:message : OLRP0002(筛选message栏位中包含OLRP002的日志数据,分词)在点击检索条件输入框时会有提示性下拉框,如下图...原创 2021-04-27 17:26:51 · 1104 阅读 · 0 评论 -
Mysql解决java数据库链接失效问题The last packet successfully received from the server was 3 milliseconds ago错误
[Mysql+JAVA+druid] 解决java链接mysql报The last packet successfully received from the server was 3 milliseconds ago. The last packet sent successfully to the server was 1 milliseconds ago.错误 触发现象第一次调用报上图错误,第二次恢复正常。 引起原因查询数据库wait_timeout(服务器关闭非交原创 2021-04-27 16:22:35 · 19306 阅读 · 6 评论 -
创建mysql用户、数据库、授权
创建mysql用户、数据库、授权以下所有指令需要在数据库服务器使用mysql指令进入dba用户才可执行创建mysql用户创建report用户,如果不存在则创建并且所有ip都能访问,密码为123456create user if not exists 'report'@'%' identified by '123456';创建数据库创建base数据库,编码为utf8mb4,排序规则为utf8mb4_unicode_cicreate database if not exists base原创 2021-04-22 20:48:56 · 154 阅读 · 0 评论 -
mysql创建用户和授权
mysql创建用户和授权创建mysql用户若允许所有IP使用该用户则将访问IP修改为%create user if not exists '用户名'@'访问ip' identified by 'password';为用户添加权限grant 访问权限 on 库名.表明 to 'user'@'访问IP' identified by 'password' ;设置只读权限grant select on *.* to '用户名'@'访问IP' identified by 'password'原创 2021-04-22 20:38:16 · 229 阅读 · 0 评论 -
解决ORACLE导入imp/exp导入表空间名不同的办法,以及一些其他错误填坑
@ORACLE IMP/EXP使用,两个库表空间不同时的解决办法ORACLE IMP/EXP使用,两个库表空间不同时的解决办法,以及一些其他错误填坑导入导出表空间不一致报错Export file created by EXPORT:V19.00.00 via conventional pathWarning: the objects were exported by HBS_DCORE_BASE2, not by youimport done in US7ASCII character set原创 2021-03-17 15:18:57 · 6396 阅读 · 1 评论
分享