环境:Ubuntu11.10,Python2.7,Mysql5.0.95在Ubuntu终端输入命令安装Python的Mysql模块sudo apt-get
install python-mysqldb就这么简单;运行一下脚本:#!/usr/bin/python#-*-coding=utf-8##im...
分类:
数据库 时间:
2014-05-01 10:54:23
阅读次数:
474
MySQL Administrator 创建表MyEclipse Database
Explorer视图:1. New2 .Driver template: MySQL Connector/JDriver name:
给定一个连接名称Connection URL:jdbc:mysql://[]/相应...
分类:
系统相关 时间:
2014-05-01 10:48:33
阅读次数:
696
我们都知道很多日志的模块都是放在这下面的要是想修改或是添加其他服务的日志,怎么办?修改下面的配置文件测试下是否ok轮转日志和定位分析和分析日志汇总报告:安装logwatch软件包,这个没啥说的修改日志汇总电子邮件的地址:修改电子汇总邮件接收者:清空root邮件,测试下
分类:
其他好文 时间:
2014-05-01 10:44:40
阅读次数:
406
1、检查是否关闭防火墙[root@gaosheng ~]# service iptables
statusFirewall is stopped.View
Code如果防火墙没有关闭,最好关闭;生产环境下,视具体情况而定.2、上传weblogic安装包wls1036_generic.jar此步骤略3...
分类:
Web程序 时间:
2014-05-01 10:36:19
阅读次数:
698
nginxserver { listen 80; server_name localhost;
root /apps/web/; index index.html; location / { } location /server { ...
分类:
其他好文 时间:
2014-05-01 08:03:15
阅读次数:
902
linux下有三类用户: 1、超级用户 :root 具有操作系通的一切权限 uid
02、普通用户:普通用户具有操作系统有限的权限 uid 500-60003、伪用户 :是为了方便系统管理,满足相对应的系统进程文件属主的要求, 不能登录系统
uid 1--499管理用户的文件、用户的基本信息都放在这...
分类:
其他好文 时间:
2014-05-01 07:33:42
阅读次数:
281
1. 查看内核版本命令: 1) [root@q1test01 ~]# cat
/proc/version Linux version 2.6.9-22.ELsmp (bhcompile@crowe.devel.redhat.com)
(gcc version 3.4.4 20050721 (Red ...
分类:
系统相关 时间:
2014-05-01 07:15:14
阅读次数:
575
限制并发select的patch,代码量很少,主要是为了学习mysql的源码,yy一下。增加两个全局控制变量:
thread_limit_min thread_limit_max增加一个条件变量: COND_thread_running_limit增加一个新的错误码:
concurr...
分类:
数据库 时间:
2014-05-01 07:14:13
阅读次数:
576
描述The SELECT statement is used to select data from
a database.The result is stored in a result table, called the
result-set.大意:select用来从数据库中挑选数据有以下两种形...
分类:
数据库 时间:
2014-05-01 06:14:32
阅读次数:
467
1){print_r($argv);}?>另存为 ./test.php[root@xiuran
test]#php ./test.php xxx fdf3Array( [0] =>test.php [1] => xxx [2] =>
fdf)
分类:
Web程序 时间:
2014-05-01 06:12:29
阅读次数:
379