摘要: 在Apache下vhosts及C盘hosts中都配置好后,提示关于You don't have permission to access the requested directory.这类目录错误。先看你配置的localhost是否在环境目录之外。 若是,则在httpd.conf中找到含有 All 阅读全文
posted @ 2017-06-16 10:29 自作自受呵 阅读(523) 评论(0) 推荐(0) 编辑
摘要: 错误提示: 9:15:53 AM [Apache] Error: Apache shutdown unexpectedly.9:15:53 AM [Apache] This may be due to a blocked port, missing dependencies, 9:15:53 AM 阅读全文
posted @ 2017-06-14 14:51 自作自受呵 阅读(4421) 评论(0) 推荐(0) 编辑
摘要: 一个varchar字段直接用MAX()函数,或直接用order_by 来取最大值,那取出来的结果只会是9开头的字符串(如9,15这种情况), 想要取正确的最大值可以利用cast()函数,将varchar类型转换为integer类型。 实例: select MAX(CAST(mark AS SIGNE 阅读全文
posted @ 2017-05-17 15:51 自作自受呵 阅读(3316) 评论(0) 推荐(0) 编辑