Centos5.2配置LAMP与Centos5.3配置LAMP(34)
2019-10-11 14:12Centos教程网 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, 当然小点也可以,根据你的需要来,不建议改的太大。
{"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
配置成功会提示:
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简单谈谈centos7中配置php
- 2022-03-10centos7下安装java及环境变量配置技巧
- 2022-03-10CentOs下安装gcc/g++/gdb的方法
- 2022-03-10在Ubunt16.04上安装LAMP的方法
- 2022-03-09CentOS 7中 Minimal 安装JDK 1.8的教程
- 2022-03-09CentOS环境下安装PHPUnit的方法分析
- Centos
CentOS 5.5使用yum来安装LAMP(php运行环境)
今天用yum方法搭建起了个LAMP环境,中间遇到了很多问题,经过google和各位前辈的帮助,终于将环境搭建起来,现在把完整的步骤记录下来...
- Centos
CentOS配置SSH单向无密码访问的方法
今天小编为大家带来的是CentOS配置SSH单向无密码访问的方法;希望能够帮助到大家!有需要的朋友一起去看看吧...
- Centos
简单几步让CentOS时间同步的方法
根据大家经常对时间不能同步的问题,我们在文章中提出了一个解决方法,希望能够通过简单几步让CentOS系统时间同步 ...
- Centos
Centos7实现磁盘限额设置方法
本篇文章给大家详细分享了Centos7实现磁盘限额设置方法,对此有需要的朋友可以参考学习下。...
- Centos
CentOS5.5中安装VirtualBOX增强工具
CentOS5.5中安装VirtualBOX增强工具,需要的朋友可以参考下。 ...
- Centos
CentOS中的正则表达式
这篇文章主要介绍了CentOS中的正则表达式 ,本文给大家介绍的非常详细,需要的朋友可以参考下...
- Centos
CentOS7的hostnamectl命令使用详解
这篇文章主要介绍了CentOS7的hostnamectl命令使用详解,hostnamectl为CentOS7版本中新曾杰的命令,需要的朋友可以参考下...
- Centos
Centos 6.9环境下创建用户及删除用户的方法
这篇文章主要介绍了Centos 6.9环境下创建用户及删除用户的方法,结合实例形式分析了Centos 6.9创建用户及删除用户相关的用户名、密码创建、删除及权限设置...