查看已经安装的mysq编译参数 5.1-5.4_5.6.21

MySQL 5.1-5.4查看方法

cat/usr/local/mysql/bin/mysqlbug | grep CONFIGURE_LINE

 

MySQL 5.6.21以上版本查看方法:

[mysql@localhost~]$ VISUAL=vim; export VISUAL

cd /usr/local/mysql/bin

[root@node225bin]# mysqlbug

Somepaths:  /usr/bin/perl /usr/bin/make/usr/bin/gmake /usr/bin/gcc /usr/bin/cc

GCC:Using built-in specs.

Target:i386-redhat-linux

Configuredwith: ../configure --prefix=/usr --mandir=/usr/share/man--infodir=/usr/share/info --enable-shared --enable-threads=posix--enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions--enable-libgcj-multifile--enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk--disable-dssi --disable-plugin--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic--host=i386-redhat-linux

Threadmodel: posix

gccversion 4.1.2 20080704 (Red Hat 4.1.2-55)

Compilationinfo (call): CC='/usr/bin/cc'  CFLAGS='-Wall -O3 -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing-DDBUG_OFF'  CXX='/usr/bin/c++'  CXXFLAGS=' -Wall  -O3 -g -fabi-version=2-fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF'  LDFLAGS='' ASFLAGS=''

Compilationinfo (used): CC='/usr/bin/cc'  CFLAGS='-Wall -O3 -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing-DDBUG_OFF'  CXX='/usr/bin/c++'  CXXFLAGS=' -Wall  -O3 -g -fabi-version=2-fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF'  LDFLAGS='' ASFLAGS=''

 

分割线
感谢打赏
江西数库信息技术有限公司
YWSOS.COM 平台代运维解决方案
 评论
 发表评论
姓   名:

Powered by AKCMS