Centos5.2配置LAMP與Centos5.3配置LAMP(34)
2019-10-11 14:12Centos教程網(wǎng) Centos
搜索找到下面一行: {max_connections, OPT_MAX_CONNECTIONS, The number of simultaneous clients allowed., (gptr*) max_connections, (gptr*) max_connections, 0, GET_ULONG, REQUIRED_ARG, 100, 1, 16
{"max_connections", OPT_MAX_CONNECTIONS,
"The number of simultaneous clients allowed.", (gptr*) &max_connections,
(gptr*) &max_connections, 0, GET_ULONG, REQUIRED_ARG, 100, 1, 16384, 0, 1,
0},
將其中的100改為1500, 當(dāng)然小點(diǎn)也可以,根據(jù)你的需要來(lái),不建議改的太大。
{"max_connections", OPT_MAX_CONNECTIONS,
"The number of simultaneous clients allowed.", (gptr*) &max_connections,
(gptr*) &max_connections, 0, GET_ULONG, REQUIRED_ARG, 1500, 1, 16384, 0, 1,
0},
保存。
# CHOST="i686-pc-linux-gnu" CFLAGS="-O3 -msse2 -mmmx -Wall -W -mfpmath=sse -mcpu=pentium4 -march=pentium4 -pipe -fomit-frame-pointer" CXXFLAGS="-O3 -msse2 -mmmx -Wall -W -mfpmath=sse -funroll-loops -mcpu=pentium4 -march=pentium4 -pipe -felide-constructors -fno-exceptions -fno-rtti -fomit-frame-pointer" ./configure --prefix=/usr/local/mysql --localstatedir=/var/lib/mysql --with-comment=Source --with-server-suffix=-enterprise-gpl --with-mysqld-user=mysql --without-debug --with-big-tables --with-charset=utf8 --with-collation=utf8_general_ci --with-extra-charsets=gbk,latin1 --with-pthread --enable-static --with-client-ldflags=-all-static --with-mysqld-ldflags=-all-static --enable-assembler --without-innodb --without-ndb-debug --without-isam --enable-local-infile --with-readline --with-raid
配置成功會(huì)提示:
MySQL has a Web site at http://www.mysql.com/ which carries details on the
latest release, upcoming features, and other information to make your
work or play with MySQL more productive. There you can also find
information about mailing lists for MySQL discussion.
Remember to check the platform specific part of the reference manual for
延伸 · 閱讀
- 2022-03-10簡(jiǎn)單談?wù)刢entos7中配置php
- 2022-03-10centos7下安裝java及環(huán)境變量配置技巧
- 2022-03-10CentOs下安裝gcc/g++/gdb的方法
- 2022-03-10在Ubunt16.04上安裝LAMP的方法
- 2022-03-09CentOS 7中 Minimal 安裝JDK 1.8的教程
- 2022-03-09CentOS環(huán)境下安裝PHPUnit的方法分析
- Centos
centos 安裝與操作方法
這篇文章主要介紹了centos 安裝與操作方法,需要的朋友可以參考下...
- Centos
CentOS 6.6實(shí)現(xiàn)永久修改DNS地址的方法
這篇文章主要介紹了CentOS 6.6實(shí)現(xiàn)永久修改DNS地址的方法,涉及針對(duì)CentOS配置文件的相關(guān)設(shè)置技巧,具有一定參考借鑒價(jià)值,需要的朋友可以參考下 ...
- Centos
CentOS7設(shè)置日期和時(shí)間方法以及基本概念介紹
這篇文章主要介紹了CentOS7設(shè)置日期和時(shí)間方法以及基本概念介紹,本文講解使用CentOS7中的新命令timedatectl設(shè)置日期時(shí)間方法,需要的朋友可以參考下 ...
- Centos
CentOS下Uptime命令詳解
在Linux下,我們可以使用uptime命令,而且此命令不必使用root權(quán)限。uptime命令在系統(tǒng)中已經(jīng)默認(rèn)安裝了。今天小編為大家?guī)?lái)的是CentOS下Uptime命令詳解;希望...
- Centos
CentOS6.5下Redis安裝與配置詳細(xì)步驟
本篇文章主要介紹了CentOS6.5下Redis安裝與配置詳細(xì)步驟,詳細(xì)介紹redis單機(jī)單實(shí)例安裝與配置,服務(wù)及開(kāi)機(jī)自啟動(dòng)。有興趣的可以了解一下。...
- Centos
Centos7運(yùn)用/dev/shm進(jìn)行網(wǎng)站優(yōu)化
這篇文章主要介紹了LINUX中Centos7運(yùn)用/dev/shm進(jìn)行網(wǎng)站優(yōu)化相關(guān)知識(shí)點(diǎn),對(duì)此有興趣的朋友參考學(xué)習(xí)下。...
- Centos
Centos 7開(kāi)啟網(wǎng)卡自動(dòng)獲取IP的詳細(xì)方法
本篇文章主要介紹了Centos 7開(kāi)啟網(wǎng)卡自動(dòng)獲取IP的詳細(xì)方法,小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,也給大家做個(gè)參考。一起跟隨小編過(guò)來(lái)看看吧...
- Centos
centos不小心刪除/root目錄該如何解決?
一些朋友最近在問(wèn)小編centos不小心刪除/root目錄該如何解決?今天小編就為大家分享centos不小心刪除/root目錄解決辦法;希望對(duì)大家會(huì)有幫助,有需要的朋友...