12 2017 档案

摘要:TODO 阅读全文
posted @ 2017-12-21 00:54 panda521 阅读(188) 评论(0) 推荐(0)
摘要:需要删除本地jar,再重新reimport pom.xml 阅读全文
posted @ 2017-12-16 11:40 panda521 阅读(5002) 评论(0) 推荐(0)
摘要:spring.cloud.inetutils.preferredNetworks[0]=^192\.168 eureka.instance.prefer-ip-address=true 阅读全文
posted @ 2017-12-15 16:33 panda521 阅读(1478) 评论(0) 推荐(0)
摘要:开发中运行mysql脚本,发现提示mysql提示Column count doesn't match value count at row 1错误,后发现是由于写的SQL语句里列的数目和后面的值的数目不一致, 阅读全文
posted @ 2017-12-05 18:10 panda521 阅读(788) 评论(0) 推荐(0)
摘要:打开Window,选择Preferences-》General--》Startup and Shutdown-》Workspaces,勾选Prompt for workspace on startup 选项 打开Window,选择Preferences-》General--》Startup and 阅读全文
posted @ 2017-12-04 09:20 panda521 阅读(442) 评论(0) 推荐(0)
摘要:点击Eclipse界面中的file(文件)下的import(导入)。 进入导入界面,选择General下的Exiting Project into Workspace。 点击Select root directory:选项行的后面的Browse按钮(就是第一个Browse按钮),选择自己工程文件夹, 阅读全文
posted @ 2017-12-04 09:18 panda521 阅读(800) 评论(0) 推荐(0)
摘要:以JDBC-MySQL驱动包为例 1、在IntelliJ IDEA中打开要添加jar包的Project 2、File – Project Structure如下图 3、选择Moudules – 再选择Dependencies如下图 4、选中Moudule source – 然后点击2处+号如下图 5 阅读全文
posted @ 2017-12-01 17:29 panda521 阅读(4894) 评论(0) 推荐(0)
摘要:转自https://www.cnblogs.com/wangzhongqiu/p/6424827.html 用法: mysql> CREATE TABLE t ( a INT UNSIGNED, b INT UNSIGNED ) 探索一:正负数问题 拿tinyint字段来举例,unsigned后,字 阅读全文
posted @ 2017-12-01 17:07 panda521 阅读(1532) 评论(0) 推荐(0)
摘要:转自http://www.cnblogs.com/billyxp/archive/2013/05/31/3110016.html 最近一周接连处理了2个由于int向varchar转换无法使用索引,从而引发的慢查询。 从上面可以很明显的看到由于appkey是varchar,而在where条件中不加'' 阅读全文
posted @ 2017-12-01 16:52 panda521 阅读(1875) 评论(0) 推荐(0)
摘要:MySQL 数字类型转换函数(concat/cast) 1、将Int 转为varchar经常用 concat函数,比如concat(8,’0′) 得到字符串 ’80′ 2、将varchar 转为Int 用 cast(a as signed) a为varchar类型的字符串 3.mysql也支持CON 阅读全文
posted @ 2017-12-01 16:39 panda521 阅读(394) 评论(0) 推荐(0)