mysql編譯引數詳解(./configure)
1.--prefix=PREFIX:指定程式安裝路徑;
2.--enable-assembler:使用匯編模式;(文件說明:compiling in x86 (and sparc) versions of common string operations, which should result in more performance. 彙編x86的普通運算子,可以提高效能)
3.--enable-local-infile:啟用對LOAD DATA LOCAL INFILE語法的支援(預設不支援);
4.--enable-profiling:Build a version with query profiling code (req.community-features)
5.--enable-thread-safe-client:使用編譯客戶端;(讓客戶端支援執行緒的意思)
6.--with-big-tables:啟用32位平臺對4G大表的支援;
7.--with-charset=CHARSET:指定字符集;
8.--with-collation=:預設collation;
9.--with-extra-charsets=CHARSET,CHARSET,...:指定附加的字符集;
10.--with-fast-mutexes:Compile with fast mutexes
11.--with-readline:
12.--with-ssl:啟用SSL的支援;
13.--with-server-suffix=:新增字串到版本資訊;
14.--with-embedded-server:編譯embedded-server,構建嵌入式MySQL庫;
15.--with-pthread:強制使用pthread類庫;
16.--with-mysqld-user=:指定mysqld守護程式的使用者;
17.--with-mysqld-ldflags=:靜態編譯MySQL伺服器端;(靜態連結提高13%效能)
18.--with-client-ldflags=:靜態編譯MySQL客戶端;(靜態連結提高13%效能)
19.--with-plugins=PLUGIN,PLUGIN 等等等(MySQL伺服器端支援的儲存引擎元件(預設為空),可選值較多:
partition:MySQL Partitioning Support;
daemon_example:This is an example plugin daemon;
ftexample:Simple full-text parser plugin;
archive:Archive Storage Engine;
blackhole:Basic Write-only Read-never tables;
csv:Stores tables in text CSV format,強制安裝;
example:Example for Storage Engines for developers;
federated:Connects to tables on remote MySQL servers;
heap:Volatile memory based tables,強制安裝;
ibmdb2i:IBM DB2 for i Storage Engine;
innobase:Transactional Tables using InnoDB;
innodb_plugin:Transactional Tables using InnoDB;
myisam:Traditional non-transactional MySQL tables,強制安裝;
myisammrg:Merge multiple MySQL tables into one,強制安裝;
ndbcluster:High Availability Clustered tables;)
20.--with-plugin-PLUGIN:強制指定的外掛連結至MySQL伺服器;
21.--with-zlib-dir=:向MySQL提供一個自定義的壓縮類庫地址;
22.--without-server:僅安裝MySQL客戶端;
23.--without-query-cache:不要編譯查詢快取;
24.--without-geometry:不要編譯geometry-related部分;
25.--without-debug:編譯為產品版,放棄debugging程式碼;
26.--without-ndb-debug:禁用special ndb debug特性;
基於以上,我的配置:
./configure --prefix=/usr/local/mysql/
--with-server-suffix=yu
--enable-assembler
--enable-local-infile
--enable-thread-safe-client
--with-big-tables
--with-charset=utf8
--with-extra-charsets=gbk,gb2312,utf8,ascii
--with-readline
--with-ssl
--with-embedded-server
--with-pthread
--with-mysqld-user=mysql
--with-mysqld-ldflags=-all-static
--with-client-ldflags=-all-static
--with-plugins=partition,innobase,innodb_plugin
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29096438/viewspace-1409165/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Nginx編譯引數大全 configure引數中文詳解Nginx編譯
- PHP編譯安裝之Configure引數PHP編譯
- mysql configure 引數MySql
- Configure 引數選項詳解(轉)
- Linux下nginx編譯安裝教程和編譯引數詳解LinuxNginx編譯
- Mysql配置引數詳解(一)MySql
- php編譯引數PHP編譯
- MySQL InnoDB常見引數詳解MySql
- 【MYSQL】my.cnf引數詳解MySql
- MySQL 5.5編譯安裝cmake引數說明MySql編譯
- 檢視編譯引數編譯
- 編譯引數檢視編譯
- MySQL relay log 詳細引數解釋MySql
- MySQL查詢快取引數詳解MySql快取
- mysql5.6主從引數詳解MySql
- mysqldump 引數詳解(基於MySQL 5.6)MySql
- MySQL配置檔案mysql.ini引數詳解MySql
- MySQL8.0新增配置引數詳解MySql
- PHP 編譯引數儲存PHP編譯
- PHP編譯安裝引數PHP編譯
- gcc最佳編譯引數(轉)GC編譯
- lamp編譯詳解LAMP編譯
- JS----預編譯及變數提升詳解JS編譯變數
- MySQl引數管理( 部分翻譯)MySql
- Linux下檢視Nginx、Napache、MySQL、PHP的編譯引數LinuxNginxApacheMySqlPHP編譯
- 獲取安裝後Apache、MySQL、Nginx、PHP編譯時引數ApacheMySqlNginxPHP編譯
- MySQL效能引數詳解 - max_connect_errorsMySqlError
- 模板引數,模板分離編譯編譯
- 編譯引數-ObjC的說明編譯OBJ
- MySQL配置檔案mysql.ini引數詳解、MySQL效能優化MySql優化
- ajax 引數詳解
- DockerFile引數詳解Docker
- dd引數詳解
- Mysqldump引數詳解MySql
- vmstat 引數詳解
- 安卓反編譯詳解安卓編譯
- 如何檢視執行中的apache,php,mysql的編譯引數ApachePHPMySql編譯
- Mysql 字符集引數翻譯MySql