错误如下Can‘tconnecttomysqlon‘192.168.1.124‘(10061)解决:优先检查授权:grantallprivilegeson*.*to‘root‘@‘%‘identifiedby‘password‘flushprivileges;--%表示所有的ip可能检查mysql配置文件(my.ini或者my.cnf):bind-address=127.0.0.1改成bind-address=0.0.0.0
分类:
数据库 时间:
2015-04-23 00:43:01
阅读次数:
147
定义:将一个复杂对象的构造与它的表示分离,使同样的构建过程可以创建不同的表示,这样的设计模式被称为建造者模式。
(separate the construction of a complex object from its representation so that the same construction process can create different representation...
分类:
其他好文 时间:
2015-04-23 00:02:43
阅读次数:
165
Sum of Consecutive Prime NumbersTime Limit:1000MSMemory Limit:65536KTotal Submissions:20560Accepted:11243DescriptionSome positive integers can be repr...
分类:
其他好文 时间:
2015-04-22 23:50:54
阅读次数:
130
AngularJS: An OverviewBy Paras Babbar on Apr 21, 2015IntroductionAngular JS is a very powerful JavaScript library or we can say open-source web applic...
分类:
Web程序 时间:
2015-04-22 23:29:18
阅读次数:
173
2015-03-06 328 Unusual Data Types ——You can carry this technique to extremes,putting all the variables in your program into one big,juicy variable an....
分类:
其他好文 时间:
2015-04-22 20:16:19
阅读次数:
183
题目描述Given two numbers represented as strings, return multiplication of the numbers as a string.Note: The numbers can be arbitrarily large and are non-negative.对两组非负数字进行相乘,使用数组表示数字,且题目中说明数组很大,因此,因此不能直接将...
分类:
其他好文 时间:
2015-04-22 18:29:04
阅读次数:
103
题目描述Given a 2D board and a word, find if the word exists in the grid.The word can be constructed from letters of sequentially adjacent cell, where “adjacent” cells are those horizontally or vertically...
分类:
其他好文 时间:
2015-04-22 18:19:56
阅读次数:
130
Shell脚本:#!/bin/bashdevices=( $(adb devices|grep device$|awk '{print $1}'|xargs echo) )case ${#devices[@]} in 0 ) echo "can't found a android...
分类:
移动开发 时间:
2015-04-22 17:45:56
阅读次数:
132
fatal: remote error: You can't push to git://github.com/niexiaobo/remote.git Use https://github.com/niexiaobo/remote.git解决:1、切换到checkout的文件夹(比如当前项目保存到...
分类:
Web程序 时间:
2015-04-22 17:44:49
阅读次数:
148
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 5364
Accepted: 1456
Description
Given a number of distinct decimal digits, you can form one integer by choosing a non-...
分类:
其他好文 时间:
2015-04-22 15:16:23
阅读次数:
143