如下所示,PHP连接MySQL报错: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket 'MySQL' (2) 测试代码如下: 【解决方案】 把 host=localhost 改为 host=127.0 ...
分类:
数据库 时间:
2016-07-19 09:36:48
阅读次数:
168
A Walk Through the Forest
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 7583 Accepted Submission(s): 2791
Problem Description
...
分类:
编程语言 时间:
2016-07-13 16:43:49
阅读次数:
155
tar zcvf 压缩包 文件 打包:尽量切换到打包目录的上级目录,然后用相对路径打包 tar zcvf [随意路径] /框 [相对路径] 一堆苹果 tar tf 查看内容 -z --gzip --ungzip filter the archive through gzip||调用gzip来压缩归档 ...
分类:
其他好文 时间:
2016-07-11 20:55:42
阅读次数:
115
Description There are n cities in Bearland, numbered 1 through n. Cities are arranged in one long row. The distance between cities i and j is equal to ...
分类:
其他好文 时间:
2016-07-11 10:31:16
阅读次数:
183
centos中安装mysql很简单如下命令即可 yum install mysql 装好了, 运行mysql ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.so ...
分类:
数据库 时间:
2016-07-10 21:17:27
阅读次数:
285
转载自:https://www.reddit.com/r/swift/comments/2w19kp/how_do_you_send_a_through_nsmutableurlrequest/ how do you send a ? through NSMutableURLRequest with ...
分类:
Web程序 时间:
2016-07-03 21:37:14
阅读次数:
901
以下是从overFlow 复制过来的问题 I've read through many of the other questions posted on the same issue, but I still do not understand the cause and how to preven ...
分类:
移动开发 时间:
2016-07-03 01:50:05
阅读次数:
413
re.match: match from the beginning of the string re.search: scan through the whole string to find a match dash '-' inside square '[]' means a range. p ...
分类:
编程语言 时间:
2016-07-02 22:44:00
阅读次数:
204
https://packagecontrol.io/installation#st2 链接被墙了这个。 我拿来放在这里。 The simplest method of installation is through the Sublime Text console. The console is a ...
分类:
系统相关 时间:
2016-06-27 23:09:00
阅读次数:
507
ref: http://www.studytonight.com/java/java-io-stream.php IO Stream Java performs I/O through Streams. A stream is linked to physical layer by java I/O ...
分类:
编程语言 时间:
2016-06-27 15:11:15
阅读次数:
282