查看 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 服务安装路径

猜你喜欢

转载自www.cnblogs.com/fanweisheng/p/11333435.html