易截截图软件、单文件、免安装、纯绿色、仅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 ......

mysql和sqlserver中查看当前库中所有表和字段信息

>>mysql:
1、查看所有表名:
show tables [from db_name];
2、查看字段信息
SHOW FULL COLUMNS from db_name.table_name
获取以下信息
Field :字段名
Type:字段类型
Collation:字符集 (mysql 5.0以上有)
Null :是否可以为NULL
Key:索引(PRI,unique,index)
Default:缺省值
Extra:额外(是否 aut ......

mysql 一些简单操作 Rubicon

了解了一些最基本的操作命令后,我们再来学习如何创建一个数据库和数据库表。
  1、使用SHOW语句找出在服务器上当前存在什么数据库:
mysql> SHOW DATABASES; +----------+
| Database | +----------+ | mysql |
| test | +----------+ 3 rows in set (0.00 sec)
  2、创建一个数据库abccs
  mysql> ......

VC++ 连接MySQL 数据库

把mysql.h复制到vc的目录的include目录下
mysql.h在你mysql的安装目录下的include里面如:mysql\include
把libmysql.lib(在mysql的安装目录下,搜索下就能找到)复制到这个目录下(C:\Program Files\Microsoft Visual Studio 9.0\VC\lib),要不连接会出错。
如果编译连接时还是出错。就把libmysql.lib复制到你源程序的目 ......

MySQL Cluster Multi Computer Installation

    
Each MySQL Cluster host computer running an SQL node must have
installed on it a MySQL binary. For management nodes and data
nodes, it is not necessary to install the MySQL server binary, but
management nodes require the management server daemon
......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号