uTools-Manuals/docs/linux/mysqlshow.html
2019-04-21 11:50:48 +08:00

18 lines
971 B
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<h1 id="mysqlshow">mysqlshow</h1>
<p>显示MySQL中数据库相关信息</p>
<h2 id="补充说明">补充说明</h2>
<p><strong>mysqlshow命令</strong> 用于显示mysql服务器中数据库、表和列表信息。</p>
<h3 id="语法">语法</h3>
<pre><code class="language-bash">mysqlshow(选项)(参数)</code></pre>
<h3 id="选项">选项</h3>
<pre><code class="language-bash">-hMySQL服务器的ip地址或主机名
-u连接MySQL服务器的用户名
-p连接MySQL服务器的密码
--count显示每个数据表中数据的行数
-k显示数据表的索引
-t显示数据表的类型
-i显示数据表的额外信息。</code></pre>
<h3 id="参数">参数</h3>
<p>数据库信息:指定要显示的数据库信息,可以是一个数据库名,或者是数据库名和表名,或者是数据库名、表名和列名。</p>
<!-- Linux命令行搜索引擎https://jaywcjlove.github.io/linux-command/ -->