查看 MySQL 数据库的编译参数

grep CONFIGURE_LINE /app/mysql/bin/mysqlbug

 

 

提示:还发现很多人先 cat,在 grep,很不专业,应杜绝。

 

 

范例 3:

 

 

[root@VM-001~]# grep CONFIGURE_LINE /app/mysql/bin/mysqlbug

 

 

CONFIGURE_LINE="./configure '--prefix=/app/mysql/' '--enable-assembler' '--with-e

 

 

xtra-charsets=complex' '--enable-thread-safe-client' '--with-big-tables' '--with-readli

 

 

ne' '--with-ssl' '--with-embedded-server' '--enable-local-infile' '--with-plugins=partiti

 

on,innobase' '--with-plugin-PLUGIN'"

 

`test -n "$CONFIGURE_LINE" && echo "Configure command: $CONFIGURE_LINE"` 提示:/app 为 mysql 服务安装路径

posted @ 2019-08-10 23:12  樊伟胜  阅读(1203)  评论(1编辑  收藏  举报