有木有银知道怎么查看mysql编译选项的?

Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
回复
头像
youqika
帖子: 720
注册时间: 2008-09-25 20:56

有木有银知道怎么查看mysql编译选项的?

#1

帖子 youqika » 2012-04-13 10:01

google到的貌似是红帽子的方法
linux下查看nginx,apache,mysql,php的编译参数
1、nginx编译参数:
#/usr/local/nginx/sbin/nginx -V

2、apache编译参数:
# cat /usr/local/apache/build/config.nice

3、php编译参数:
# /usr/local/php/bin/php -i |grep configure

4、mysql编译参数:
# cat /usr/local/mysql/bin/mysqlbug|grep configure
有不有银知道ubuntu或arch的方法? :em03
UCHIHA
运气是为白痴准备的
头像
redhatlinux10
帖子: 773
注册时间: 2008-01-22 23:24
来自: 三亚
联系:

Re: 有木有银知道怎么查看mysql编译选项的?

#2

帖子 redhatlinux10 » 2012-04-14 14:14

which mysqlbug 来获取mysqlbug的绝对路径。假设在 /usr/bin/mysqlbug
运行下面的命令获取编译参数

代码: 全选

cat /usr/bin/mysqlbug |grep CONFIGURE_LINE
回复