摘要: #MySQL 主从配置 版本5.7 官方文档地址:https://dev.mysql.com/doc/refman/5.7/en/replication-options-replica.html 主从配置: 配置的是My.ini文件 1.先进安装目录中找,例如默认安装路径:C:\Program Fi 阅读全文
posted @ 2020-10-29 16:58 花落丶流年 阅读(255) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-06-12 14:36 花落丶流年 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 保留数字的有效位数 在学习过程中,有碰到过需要保留有效位数的问题,在经过一番查找资料后,完成学习,记录下学习成果 / double 这个函数的作用 整个数字保留有效位数 保留的有效位数即n @param num @param n @return / public double HoldNumberO 阅读全文
posted @ 2019-06-05 10:38 花落丶流年 阅读(715) 评论(0) 推荐(0) 编辑
摘要: 读取Excel中内容,并保存进数据库 步骤 1. 建立数据库连接 2. 读取文件内容 (fileInputStream 放进POI的对应Excel读取接口,实现Excel文件读取) 3. 获取文件各种内容(总列数,总行数,各个单元格的内容) 4. 执行SQL语句,存进数据库 阅读全文
posted @ 2019-05-26 15:19 花落丶流年 阅读(2862) 评论(0) 推荐(0) 编辑
摘要: LeetCode Two Sum Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each in 阅读全文
posted @ 2019-05-21 10:58 花落丶流年 阅读(162) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-05-14 16:28 花落丶流年 阅读(8) 评论(0) 推荐(0) 编辑