1、lamp环境使用数据库报错: 2、编辑/etc/php.ini/文件中"mysql 下找到"mysql.default_socket",并设置其值指向正确的mysql服务socket文件即可, 在配置文件中添加“[client]”选项和“[mysql]”选项,并使用这两个选项下的“socket” ...
分类:
数据库 时间:
2018-03-28 12:23:26
阅读次数:
210
How DNS Work When the client try to connect to a hostname, it go through the following process 1) Check it own cache, to see if it can find it, ipconf ...
分类:
其他好文 时间:
2018-03-27 10:25:41
阅读次数:
158
Use the following method printPrimes() for questions a f below Code java / Finds and prints n prime integers Jeff Offutt, Spring 2003 / public static ...
DB2五种管理权限SYSADM, SYSCTRL SYSMAINT DBADM and LOAD前三个权限是instance-level,and can only be assigned to a group and are done so through the Database Manager Configuration file. 后两个权限是database-leve
分类:
数据库 时间:
2018-03-24 21:30:02
阅读次数:
283
接触过的工具有pyinstaller,或者py2exe。感觉pyinstaller更简单易用。 真正将依赖的dll打包称一个安装包还需要借助windows打包工具 Inno Setup 或 NSIS 1、pyinstaller 官网:www.pyinstaller.org 两大步 (1)Instal ...
分类:
编程语言 时间:
2018-03-21 13:53:09
阅读次数:
254
Description One steps through integer points of the straight line. The length of a step must be nonnegative and can be by one bigger than, equal ...
分类:
其他好文 时间:
2018-03-17 23:24:34
阅读次数:
212
1038 X^A Mod P 基准时间限制:1 秒 空间限制:131072 KB 分值: 320 X^A mod P = B,其中P为质数。给出P和A B,求< P的所有X。 例如:P = 11,A = 3,B = 5。 3^3 Mod 11 = 5 所有数据中,解的数量不超过Sqrt(P)。 X^ ...
分类:
其他好文 时间:
2018-03-16 19:36:23
阅读次数:
139
有时候用命令mysql -u root -p 或者服务器启动mysql数据库的时候,会出现抛出异常并失败。 以下是遇过的异常。 1、1)抛出的异常:出现ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/t ...
分类:
数据库 时间:
2018-03-16 14:31:40
阅读次数:
184
Here are some notes for the GGX paper "Microfacet Models for Refraction through Rough Surfaces". In this article, I will give derivations for some imp... ...
分类:
其他好文 时间:
2018-03-15 11:21:48
阅读次数:
227
Asteroids Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 24789 Accepted: 13439 Description Bessie wants to navigate her spaceship through ...
分类:
其他好文 时间:
2018-03-11 19:14:23
阅读次数:
176