mysql编译参数查看(mysql设置参数查询sql语句)

  • 1、怎么查看编译mysql时使用了那些参数
  • 2、如何查看apache,php,mysql的编译参数
  • 3、怎么查mysql5.5,用cmake安装时的编译参数
  • 4、如何查看mysql可用编译参数

查看nginx编译参数:/usr/local/nginx/sbin/nginx -V查看apache编译参数:cat /usr/local/apache2/build/config.nice查看mysql编译参数:cat /usr/local/mysql/bin/mysqlbug | grep CONFIGURE_LINE查看php编译参数:/usr/local/php/bin/php -i | grep configure会有更专业的人来为您解答。如果我的回答没能帮助您,请继续追问。

查看nginx编译参数:/usr/local/nginx/sbin/nginx -V

查看apache编译参数:cat /usr/local/apache2/build/config.nice

查看mysql编译参数:cat /usr/local/mysql/bin/mysqlbug | grep CONFIGURE_LINE

查看php编译参数:/usr/local/php/bin/php -i | grep configure

# cd /usr/local/mysql5.5/docs

# vim INFO_BIN (其中 Pointer size: 4 一行之后的内容就是所要的参数,需要注意的是,这里的参数的书写格式并不是在执行 cmake 命令时参数的标准格式 ,使用的时候要去掉 :BOOL或 PATH: 等字符)

===== Information about the build process: =====

Build was run at 2014-09-13 23:14:29 on host ‘rhel5-8-1.breeze.com’

Build was done on Linux-2.6.18-308.el5 using i686

Build was done using cmake 3.0.2

===== Compiler flags used (from the ‘sql/’ subdirectory): =====

# compile C with /usr/bin/cc

# compile CXX with /usr/bin/c++

C_DEFINES = -DHAVE_CONFIG_H -DHAVE_EVENT_SCHEDULER -DMYSQL_SERVER

CXX_DEFINES = -DHAVE_CONFIG_H -DHAVE_EVENT_SCHEDULER -DMYSQL_SERVER

Pointer size: 4

===== Feature flags used: =====

— Cache values

CMAKE_BUILD_TYPE:STRING=RelWithDebInfo

CMAKE_INSTALL_PREFIX:PATH=/usr/local/mysql5.5

COMMUNITY_BUILD:BOOL=ON

如何查看mysql可用编译参数

查看nginx编译参数:/usr/local/nginx/sbin/nginx -V查看apache编译参数:cat /usr/local/apache2/build/config.nice查看mysql编译参数:cat /usr/local/mysql/bin/mysqlbug | grep CONFIGURE_LINE查看php编译参数:/usr/local/php/bin/php -i | grep configure

原创文章,作者:Q9B15,如若转载,请注明出处:https://www.506064.com/n/127097.html

汽车小知识 小米SU7 今日油价 油耗计算器 电耗计算器 购置税计算器 贷款计算器 保险计算器 交通违章代码 体育新闻
(0)
Q9B15Q9B15
上一篇 2024-10-03
下一篇 2024-10-03

相关推荐

发表回复

登录后才能评论