随笔分类 -  MySQL

摘要:1. canal 2. 数据同步 阅读全文
posted @ 2020-08-18 14:42 lvlin241 阅读(167) 评论(0) 推荐(0) 编辑
摘要:1. 问题描述: java.sql.SQLException: Access denied for user 'xxx'@'xxx.xxx.xxx.xxx' (using password: YES) https://www.cnblogs.com/MWCloud/p/11352557.html s 阅读全文
posted @ 2019-12-08 15:53 lvlin241 阅读(116) 评论(0) 推荐(0) 编辑
摘要:参考: Linux安装MySQL5.7 mysql5.7.35下载 如果下载速度比较慢,采用下载 mysql其他版本下载 注意: 安装后 1. 修改密码 set password for 用户名@localhost = password('新密码'); flush privileges; 2. 出现 阅读全文
posted @ 2019-11-23 22:47 lvlin241 阅读(141) 评论(0) 推荐(0) 编辑
摘要:1、数据类型 https://www.tutorialspoint.com/mysql/mysql-data-types.htm 2、int长度的意义 https://blog.csdn.net/tiansidehao/article/details/78981968 MySQL中,采集int类型元数据字段信息时,不能找到【显示长度】,解决方案: select * from informa... 阅读全文
posted @ 2019-03-29 16:33 lvlin241 阅读(108) 评论(0) 推荐(0) 编辑
摘要:1、ResultSet getColumns​ https://docs.oracle.com/en/java/javase/11/docs/api/java.sql/java/sql/DatabaseMetaData.html#getColumns(java.lang.String,java.lang.String,java.lang.String,java.lang.String) htt... 阅读全文
posted @ 2019-03-29 15:56 lvlin241 阅读(1114) 评论(0) 推荐(0) 编辑
摘要:参考: https://dzone.com/articles/how-use-linkedin-market-your 表空间信息 https://coderanch.com/t/300498/databases/Java-find-List-tablespaces-database getCata 阅读全文
posted @ 2019-02-21 20:06 lvlin241 阅读(1825) 评论(0) 推荐(0) 编辑
摘要:参考: http://youzhixueyuan.com/index-principle-and-slow-query-optimization-of-mysql.html 阅读全文
posted @ 2019-01-28 21:08 lvlin241 阅读(86) 评论(0) 推荐(0) 编辑
摘要:mysql, shell脚本中执行sql脚本并传递参数 阅读全文
posted @ 2018-07-08 16:03 lvlin241 阅读(14107) 评论(0) 推荐(0) 编辑
摘要:1、sql脚本(t.sql) 2、shell脚本(a.sh 为方便说明,a.sh与t.sql在同一目录下) 说明:3种执行方式,后两行也可以(已注释,感兴趣可以尝试下) #!/bin/sh mysql -u root < t.sql# mysql -u root -e "source t.sql"# 阅读全文
posted @ 2018-07-08 15:17 lvlin241 阅读(10612) 评论(0) 推荐(0) 编辑
摘要:1、mysql 数据库表信息 2、shell脚本(a.sh)信息 3、执行 ./a.sh 4、 执行结果 阅读全文
posted @ 2018-07-08 15:06 lvlin241 阅读(9278) 评论(0) 推荐(0) 编辑

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