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

mysql 5.1 configure 编译参数详解

-static  13%
   --with-client-ldflags=-all-static
  
--with-mysqld-ldflags=-all-static
静态链接提高13%性能
Unix Socket  7.5%
--with-unix-socket path=/usr/local/mysql/tmp/mysql.sock
使用unix套接字链接提高7.5%性能,所以在windows下mysql性能肯定不如unix下面
--enable-assembler
The --enable-assembler options of configure allows for
compiling in x86 (and sparc) versions of common
string
operations, which should result in more
performance.
汇编x86的普通操作符,可以提高性能
--with-extra-charsets
=complex字符支持
--enable-thread-safe-client
#Compile the client with
threads. 也就是让客户端支持线程的意思
--with-big-tables
There is a limit of 232
(~4.295E+09) rows in a MyISAM
table. If you build MySQL
with the --with-big-tables
option, the
row limitation is increased to (232
)2
(1.844E+19) rows
--with-ssl
--with-embedded-server
   #编译成embedded MySQL library (libmysqld.a
),
--enable-local-infile
#让mysql支持从本地文件 导入数据库
load data local infile '/usr/test' into table test fields terminated by ' ';
ERROR 1148 (42000): The used command is
not allowed with this
MySQL version)
--with-plugins=innobase
存储引擎
Mysql5.1开始,编译添加innodb插件就从--with-innodb 改成了 --with-plugins=innobase
--with-plugins=PLUGIN[[[,PLUGIN..]]]
                                                    Plugins to include in
mysqld. (default
is
: none)
                                                 


相关文档:

Mysql 错误 1067

启动Mysql 错误 1067 进程意外终止的一种解决方法
mysqld-nt --defaults-file=my.ini --standalone --console
查看信息内容
发现MYSQL INNODB初始化错误。
错误如下:
InnoDB: The first specified data file .\ibdata1 did not exist:
InnoDB: a new database to be created!
100115 10:14:04  InnoDB: Setti ......

vsftp配置验证方式mysql和文件虑拟用户

以下内容在ubuntu 9.04 server系统上测试通过
用apt-get install vsftp安装的时候相关的文件位置:
主配置文件:/etc/vsftpd.conf
验证配置文件/etc/pam.d/vsftpd
重启:/etc/init.d/vsftpd restart
vsftp Mysql验证方式:
MYSQL已经安装在/usr/local/mysql
直接安装vsftp
sudo apt-get install vsftp
安装pam_mys ......

MySql常用命令

需注意以下三点:
1、创建数据库的时候:CREATE DATABASE `database`
                        CHARACTER SET 'utf8'
         ......

Initial Startup of MySQL Cluster


Starting the cluster is not very difficult after it has been configured. Each cluster node process must be started separately, and on the host where it resides. The management node should be started first, followed by the data nodes, and then finally by any SQL nodes:
On the management host, issu ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号