用于显示当前配置变量的mysql命令 [英] mysql command for showing current configuration variables
本文介绍了用于显示当前配置变量的mysql命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在数据库中找不到显示mysql当前配置的命令.
Can not find a command that displays the current configuration of mysql from within the database.
我知道我可以看一下/etc/mysql/my.cnf,但这不是我所需要的.
I know I could look at /etc/mysql/my.cnf but that is not what I need.
推荐答案
您正在寻找的是这个东西
What you are looking for is this:
SHOW VARIABLES;
您可以像任何查询一样进一步对其进行修改:
You can modify it further like any query:
SHOW VARIABLES LIKE '%max%';
这篇关于用于显示当前配置变量的mysql命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文