易截截图软件、单文件、免安装、纯绿色、仅160KB

linux下查看nginx,apache,mysql,php的编译参数

引用http://www.linuxtone.org/html/76/t-2776.html
有时候nginx,apache,mysql,php编译完了想看看编译参数可以用以下方法
nginx编译参数:
#/usr/local/nginx/sbin/nginx -V
CODE:
nginx version: nginx/0.6.32
built by gcc 4.1.2 20071124 (Red Hat 4.1.2-42)
configure arguments: --user=www --group=www --prefix=/usr/local/nginx/
--with-http_stub_status_module --with-openssl=/usr/local/openssl
apache编译参数:
# cat /usr/local/apache2/build/config.nice
CODE:
#! /bin/sh
#
# Created by configure
"./configure" \
"--prefix=/usr/local/apache2" \
"--with-included-apr" \
"--enable-so" \
"--enable-deflate=shared" \
"--enable-expires=shared" \
"--enable-rewrite=shared" \
"--enable-static-support" \
"--disable-userdir" \
"$@"
php编译参数:
# /usr/local/php/bin/php -i |grep configure
CODE:
Configure
Command =>  './configure'  '--prefix=/usr/local/php'
'--with-apxs2=/usr/local/apache2/bin/apxs'
'--with-config-file-path=/usr/local/php/etc'
'--with-mysql=/usr/local/mysql'
'--with-libxml-dir=/usr/local/libxml2/bin' '--with-gd=/usr/local/gd2'
'--with-jpeg-dir' '--with-png-dir' '--with-bz2' '--with-xmlrpc'
'--with-freetype-dir' '--with-zlib-dir'
mysql编译参数:
# cat /usr/local/mysql/bin/mysqlbug|grep configure
CODE:
# This is set by configure
CONFIGURE_LINE="./configure '--prefix=/usr/local/mysql'
'--localstatedir=/var/lib/mysql' '--with-comment=Source'
'--with-server-suffix=-Linuxtone' '--with-mysqld-user=mysql'
'--without-debug' '--with-big-tables' '--with-charset=gbk'
'--with-collation=gbk_chinese_ci' '--with-extra-charsets=all'
'--with-pthread' '--enable-static' '--enable-thread-safe-client'
'--with-client-ldflags=-all-static' '--with-mysqld-ldflags=-all-static'
'--enable-assembler' '--without-isam' '--without-innodb'
'--without-ndb-debug'"


相关文档:

MySQL学习

做软件数据库必不可少,我选择了MySQL。
首先到http://dev.mysql.com/downloads/下载好MySQL5.1和MySQL GUI TOOLS
下到电脑上,然后安装,先装5.1再装gui tools ,一路确定吧。
弄好后,点开MySQL Query Browser,就可以操作数据库了。
MySQL的驱动程序是GUITOOLS安装目录/java/lib下的mysql-connector-java-5.0.4-bin.ja ......

详述如何提高MySQL中数据装载效率

摘抄自:http://database.ctocio.com.cn/153/9232653.shtml
很多时候关心的是优化SELECT 查询,因为它们是最常用的查询,而且确定怎样优化它们并不总是直截了当。相对来说,将数据装入数据库是直截了当的。然而,也存在可用来改善数据装载操作效率的策略,其基本原理如下:
  成批装载较单行装载更快,因为在装载每个记 ......

MySQL编码问题

my.ini文件配置: [mysql] default-character-set=GBK #此处的编码是MySQL控制台显示的编码方式,应该设置为GBK [mysqld] default-character-set=utf8 #此处的编码是MySQL数据存储的格式,应该设置为utf8,可以存储世界上绝大多数字符 ......

关于mysql plugin 自定义系统变量

1. 定义
/*
  Plugin system variables.
*/
static long     sysvar_one_value;
static char     *sysvar_two_value;
static MYSQL_SYSVAR_LONG(simple_sysvar_one, sysvar_one_value,
  PLUGIN_VAR_RQCMDARG,
  "Simple fulltext parser example system variab ......

MySql 字符串函数


MySql 字符串函数
[ 2006-04-22 19:24:44 | Author: Ychon ]
Font Size: Large | Medium | Small
对于针对字符串位置的操作,第一个位置被标记为1。
ASCII(str)
返回字符串str的最左面字符的ASCII代码值。如果str是空字符串,返回0。如果str是NULL,返回NULL。
mysql> select ASCII('2');
-> 50
mysql ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号