mysql-5.5源码编译安装(附参数对照表)
来源:互联网 发布:女朋友太紧 知乎 编辑:程序博客网 时间:2024/06/03 17:52
自5.5以后的版本都需要cmake编译安装,so...先安装cmake编译器
从mysql5.5起,MySQL源码安装开始使用cmake。下面是 mysql 5.5 与以前的参数对照:
configure CommandCMake Command./configurecmake ../configure --helpcmake . -LH or ccmake .Parameterconfigure OptionCMake OptionCMake NotesInstallation base directory--prefix=/usr-DCMAKE_INSTALL_PREFIX=/usr mysqld directory--libexecdir=/usr/sbin-DINSTALL_SBINDIR=sbininterpreted relative to prefixData directory--localstatedir=/var/lib/mysql-DMYSQL_DATADIR=/var/lib/mysql Config directory (for my.cnf)--sysconfdir=/etc/mysql-DSYSCONFDIR=/etc/mysql Plugin directory--with-plugindir=/usr/lib64/mysql/plugin-DINSTALL_PLUGINDIR=lib64/mysql/plugininterpreted relative to prefixMan page directory--mandir=/usr/share/man-DINSTALL_MANDIR=share/maninterpreted relative to prefixShared-data directory--sharedstatedir=/usr/share/mysql-DINSTALL_SHAREDIR=sharethis is where aclocal/mysql.m4 should be installedLibrary installation directory--libdir=/usr/lib64/mysql-DINSTALL_LIBDIR=lib64/mysqlinterpreted relative to prefixHeader installation directory--includedir=/usr/include/mysql-DINSTALL_INCLUDEDIR=include/mysqlinterpreted relative to prefixInfo doc directory--infodir=/usr/share/info-DINSTALL_INFODIR=share/infointerpreted relative to prefixParameterconfigure OptionCMake OptionCMake Notesreadline library--with-readline-DWITH_READLINE=1 SSL library--with-ssl=/usr-DWITH_SSL=system zlib library--with-zlib-dir=/usr-DWITH_ZLIB=system libwrap library--without-libwrap-DWITH_LIBWRAP=0 Parameterconfigure OptionCMake OptionCMake NotesTCP/IP port number--with-tcp-port-=3306-DMYSQL_TCP_PORT=3306UNIX socket file--with-unix-socket-path=/tmp/mysqld.sock-DMYSQL_UNIX_ADDR=/tmp/mysqld.sock
Enable LOCAL for LOAD DATA--enable-local-infile-DENABLED_LOCAL_INFILE=1
Extra charsets--with-extra-charsets=all-DEXTRA_CHARSETS=alldefault is "all"Default charset--with-charset=utf8-DDEFAULT_CHARSET=utf8
Default collation--with-collation=utf8_general_ci-DDEFAULT_COLLATION=utf8_general_ci
Build the server--with-servernone
Build the embedded server--with-embedded-server-DWITH_EMBEDDED_SERVER=1
libmysqld privilege control--with-embedded-privilege-controlnonealways enabled?Install the documentation--without-docsnone
Big tables--with-big-tables, --without-big-tablesnonetables are big by defaultmysqld user--with-mysqld-user=mysql-DMYSQL_USER=mysqlmysql is the defaultDebugging--without-debug-DWITH_DEBUG=0default is debugging disabledGIS support--with-geometrynonealways enabled?Community features--enable-community-featuresnonealways enabledProfiling--disable-profiling-DENABLE_PROFILING=0enabled by defaultpstack--without-pstacknonepstack is removedAssembler string functions--enable-assemblernone
Build type--build=x86_64-pc-linux-gnuno equivalentunneeded?Cross-compile host--host=x86_64-pc-linux-gnuno equivalentunneeded?Client flag--with-client-ldflags=-lstdc++noneunneededClient flag--enable-thread-safe-clientnoneunneeded, clients are always thread safeComment--with-comment='string'-DWITH_COMMENT='string'
Shared/static binaries--enable-shared --enable-staticnonethere is only DISABLE_SHAREDMemory use--with-low-memorynoneunneeded
阅读全文
0 0
- mysql-5.5源码编译安装(附参数对照表)
- mysql-5.5源码编译安装(附参数对照表)
- mysql-5.5源码编译安装(附参数对照表)
- mysql-5.5源码编译安装(附参数对照表)
- MySQL 5.5 源码编译安装
- 源码编译安装MySQL-5.1.58,常规参数优化配置
- 源码编译安装MySQL-5.1.58,常规参数优化配置
- 源码编译安装mysql
- mysql 源码编译安装
- MySQL 源码编译安装
- 源码编译安装mysql
- Mysql源码编译安装
- Mysql源码编译安装
- ubuntu 10.10 源码编译安装mysql 5.5
- 源码编译mysql 5.5+ 安装过程全记录
- centos源码编译安装mysql-5.5.13
- 源码编译安装 MySQL 5.5.13 实践
- 源码编译安装 MySQL 5.5.x 实践
- 用JavaScript重写alert
- Python 的 Magic Methods 指南
- 查询格式为json的postgresql列
- C++11 获取系统时间库函数 time since epoch
- hive入门UDF之星座计算(根据hive编程指南)
- mysql-5.5源码编译安装(附参数对照表)
- Https:从tcp建立连接到https接收到第一个数据包,到底发生了什么?
- DOM范围
- 活动的最佳实践
- Java业务代理模式
- 关于android中如何刷新ui
- 有一个已经排好序的数组。现输入一个数,要求按原来的规律将它插入数组中。
- 请求地址映射(@RequestMapping)
- python 用户登陆