05 2015 档案

摘要:FATAL ERROR: Could not find ./bin/my_print_defaultsIf you compiled from source, you need to run 'make install' tocopy the software into the correct lo... 阅读全文
posted @ 2015-05-21 11:31 jinchunguang 编辑
摘要:数据导入报错:Got a packet bigger than‘max_allowed_packet’bytes的问题2个解决方法:1.临时修改:mysql>set global max_allowed_packet=524288000;修改 #512M2.修改my.cnf,需重启mysql 在 [... 阅读全文
posted @ 2015-05-21 11:30 jinchunguang 编辑
摘要:针对PHP的网站主要存在下面几种攻击方式:1、命令注入(Command Injection)2、eval注入(Eval Injection)3、客户端脚本攻击(Script Insertion)4、跨网站脚本攻击(Cross Site Scripting, XSS)5、SQL注入攻击(SQL inj... 阅读全文
posted @ 2015-05-20 22:52 jinchunguang 编辑
该文被密码保护。
posted @ 2015-05-20 00:27 jinchunguang 编辑
该文被密码保护。
posted @ 2015-05-20 00:25 jinchunguang 编辑
该文被密码保护。
posted @ 2015-05-20 00:21 jinchunguang 编辑
该文被密码保护。
posted @ 2015-05-20 00:20 jinchunguang 编辑
该文被密码保护。
posted @ 2015-05-20 00:18 jinchunguang 阅读(5) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2015-05-20 00:16 jinchunguang 编辑
该文被密码保护。
posted @ 2015-05-20 00:14 jinchunguang 编辑
该文被密码保护。
posted @ 2015-05-20 00:13 jinchunguang 编辑
摘要:mysqladmin:用于管理MySQL服务器的客户端 mysqladmin是一个执行管理操作的客户程序。可以用它来检查服务器的配置和当 前的状态,创建并删除数据库等等。 这样调用mysqladmin: mysqladmin支持下面的命令: create db_name创建一个名为db_name的 阅读全文
posted @ 2015-05-20 00:07 jinchunguang 编辑
该文被密码保护。
posted @ 2015-05-20 00:01 jinchunguang 编辑
该文被密码保护。
posted @ 2015-05-19 23:59 jinchunguang 编辑
该文被密码保护。
posted @ 2015-05-19 23:58 jinchunguang 编辑
该文被密码保护。
posted @ 2015-05-19 23:55 jinchunguang 编辑
该文被密码保护。
posted @ 2015-05-19 23:50 jinchunguang 编辑
该文被密码保护。
posted @ 2015-05-19 23:46 jinchunguang 编辑
该文被密码保护。
posted @ 2015-05-19 23:44 jinchunguang 编辑
该文被密码保护。
posted @ 2015-05-19 23:42 jinchunguang 编辑
该文被密码保护。
posted @ 2015-05-19 23:38 jinchunguang 编辑
该文被密码保护。
posted @ 2015-05-19 23:36 jinchunguang 编辑
该文被密码保护。
posted @ 2015-05-19 23:34 jinchunguang 编辑
该文被密码保护。
posted @ 2015-05-19 23:32 jinchunguang 编辑
该文被密码保护。
posted @ 2015-05-19 23:31 jinchunguang 编辑
该文被密码保护。
posted @ 2015-05-19 23:30 jinchunguang 编辑
该文被密码保护。
posted @ 2015-05-19 23:27 jinchunguang 编辑
该文被密码保护。
posted @ 2015-05-19 23:26 jinchunguang 编辑
该文被密码保护。
posted @ 2015-05-19 23:24 jinchunguang 编辑
该文被密码保护。
posted @ 2015-05-19 23:22 jinchunguang 编辑
该文被密码保护。
posted @ 2015-05-19 23:20 jinchunguang 编辑
该文被密码保护。
posted @ 2015-05-19 23:19 jinchunguang 编辑
该文被密码保护。
posted @ 2015-05-19 23:16 jinchunguang 编辑
该文被密码保护。
posted @ 2015-05-19 23:12 jinchunguang 阅读(12) 评论(0) 推荐(0) 编辑
摘要:1.设置或修改Mysql root密码:默认安装后空密码,以mysqladmin命令设置密码:mysqladmin -uroot password "password"Mysql命令设置密码:mysql> set password for root@localhost=password('passw... 阅读全文
posted @ 2015-05-19 23:07 jinchunguang 编辑
摘要:今天,数据库的操作越来越成为整个应用的性能瓶颈了,这点对于Web应用尤其明显。关于数据库的性能,这并不只是DBA才需要担心的事,而这更是我 们程序员需要去关注的事情。当我们去设计数据库表结构,对操作数据库时(尤其是查表时的SQL语句),我们都需要注意数据操作的性能。这里,我们不会讲过 多的SQL语句... 阅读全文
posted @ 2015-05-19 23:03 jinchunguang 编辑
摘要:问题数据库总是访问不了以致不得不反反复复的重启MySQL数据库。但是重启的效果并不明显,重启10几分钟后问题依然出现。导致前端用户难以正常访问网站。另外他们还通过google,百度搜索,怀疑是数据库连接设置太少。设定加大并发连接,无效。flush host,无效。经过详细了解情况后,得出如下信息:一... 阅读全文
posted @ 2015-05-19 23:01 jinchunguang 编辑
摘要:1.ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 0Tcpwarpper阻挡了,编辑/etc/hosts.allow,加上这两行... 阅读全文
posted @ 2015-05-19 22:55 jinchunguang 编辑
摘要:1.假设已经有mysql-5.5.10.tar.gz以及cmake-2.8.4.tar.gz两个源文件 (1)先安装cmake(mysql5.5以后是通过cmake来编译的) (2)创建mysql的安装目录及数据库存放目录 (3)创建mysql用户及用户组 (4)安装mysql 参数说明: -DCM 阅读全文
posted @ 2015-05-19 22:47 jinchunguang 编辑
摘要:一. 前言SSI是一种类似于ASP的基于服务器的网页制作技术。将内容发送到浏览器之前,可以使用“服务器端包含 (SSI)”指令将文本、图形或应用程序信息包含到网页中。例如,可以使用 SSI 包含时间/日期戳、版权声明或供客户填写并返回的表单。对于在多个文件中重复出现的文本或图形,使用包含文件是一种简... 阅读全文
posted @ 2015-05-19 09:58 jinchunguang 编辑
摘要:服务器端嵌入:Server Side Include,是一种类似于ASP的基于服务器的网页制作技术。大多数(尤其是基于Unix平台)的WEB服务器如Netscape Enterprise Server等均支持SSI命令。另外,在计算机硬件领域SSI是同步串行接口(Synchronous Serial... 阅读全文
posted @ 2015-05-19 09:57 jinchunguang 编辑
摘要:开启SSI:html、shtml页面include网页文件 使用SSI(Server Side Include)的html文件扩展名,SSI(Server Side Include),通常称为"服务器端嵌入"或者叫"服务器端包含",是一种类似于ASP的基于服务器的网页制作技术。默认扩展名是 .stm 阅读全文
posted @ 2015-05-19 09:55 jinchunguang 编辑
摘要:Mysql创建用户时、出现如下错误!mysql> create user 'testuse'@'localhost' identified by '111111';ERROR 1290 (HY000): The MySQL server is running with the --skip-gran... 阅读全文
posted @ 2015-05-18 14:23 jinchunguang 编辑
该文被密码保护。
posted @ 2015-05-16 16:51 jinchunguang 编辑
该文被密码保护。
posted @ 2015-05-16 16:48 jinchunguang 编辑
摘要:1、首先访问http://www.python.org/download/去下载最新的python版本。 2、安装下载包,一路next。 3、为计算机添加安装目录搭到环境变量,如图把python的安装目录添加到pth系统变量中即可。 4、测试python安装是否成功,cmd打开命令行输入 pytho 阅读全文
posted @ 2015-05-15 15:32 jinchunguang 编辑
摘要:#两个高精度数比较#intbccomp(string$left_operand,string$right_operand[,int$scale])#$left=$right返回0#$left$right返回1#$scale小数点位数#两个高精度数相加#stringbcadd(string$left_... 阅读全文
posted @ 2015-05-15 12:10 jinchunguang 编辑
该文被密码保护。
posted @ 2015-05-15 12:08 jinchunguang 编辑
该文被密码保护。
posted @ 2015-05-15 12:07 jinchunguang 编辑
该文被密码保护。
posted @ 2015-05-15 12:06 jinchunguang 编辑
摘要:新建的dbtest用户,访问新建立的TestDB数据库每次都提示1142错误(已经对数据库TestDB赋予了所有权限)解决方法:Mysql命令:GRANT SELECT ON mysql.* TO dbtest@'%' identified by dbtest; 将对应的表权限赋予给该用户即可 阅读全文
posted @ 2015-05-14 10:35 jinchunguang 编辑
摘要:PHP语言是一个功能强大的嵌入式HTML脚本语言,它的易用性让许多程序员选择使用。PHP判断字符串的包含,可以使用PHP的内置函数strstr,strpos,stristr直接进行判断.也可以通过explode函数的作用写一个判断函数。1. strstr: 返回一个从被判断字符开始到结束的字符串,如... 阅读全文
posted @ 2015-05-13 14:02 jinchunguang 编辑
摘要:1.下载Oracle 11g R2 for Windows版本,下载地址如下 官方网站: http://download.oracle.com/otn/nt/oracle11g/112010/win32_11gR2_database_1of2.zip http://download.oracle.c 阅读全文
posted @ 2015-05-13 12:11 jinchunguang 编辑