MARIADB-SHOW(1)
π NAME π
okay bestie, so this is mariadb-show β a whole legend. It displays database, table, and column information.
and yes, the page literally says: mariadb-show is now a symlink to mariadb-show. that's what it says. it's a symlink to itself. iconic behavior honestly, we don't ask questions π
π¦ SYNOPSIS π¦
mariadb-show [options] [db_name [tbl_name [col_name]]]
πΈ DESCRIPTION πΈ
the mariadb-show client is your little shortcut bestie for peeking at stuff fast: which databases exist, what tables are in them, or a table's columns and indexes. no cap.
under the hood mariadb-show is just a command-line interface to a bunch of SQL SHOW statements. so like β the exact same info is available if you go run those statements yourself. for example you can just issue them from the mariadb client program. same tea, different mug π
invoke it like this:
shell> mariadb-show [options] [db_name [tbl_name [col_name]]]
- if you give no database, you get a list of database names. a little lineup β¨
- if you give no table, you get all matching tables in the database.
- if you give no column, you get all matching columns and column types in the table.
the output only shows the names of those databases, tables, or columns that you actually have some privileges for. so like, you only see what you're invited to π
if the last argument has shell or SQL wildcard characters (*, ?, %, or _), only the names matched by the wildcard get shown. and heads up β if a database name contains any underscores, you gotta escape those with a backslash (some Unix shells need two) to get a proper list of tables or columns. * and ? get converted into the SQL wildcard characters % and _. this might cause some confusion when you try to display the columns for a table that has a _ in the name, because in that case mariadb-show shows you only the table names that match the pattern. π the fix is easy though: just add an extra % last on the command line as a separate argument. slay.
mariadb-show supports the following options, and you can specify them on the command line or in the [mariadb-show] and [client] option file groups. mariadb-show also supports the options for processing option files described.
β¨ OPTIONS β¨
--help,-?β shows a help message and exits. the classic "what do I do" button π«Ά--character-sets-dir=path,-c pathβ the directory where character sets are installed.--compress,-Cβ compresses all information sent between the client and the server, if both sides support compression.--countβ shows the number of rows per table. fair warning: this can be slow for non-MyISAM tables. β οΈ--debug[=debug_options],-# [debug_options]β writes a debugging log. a typicaldebug_optionsstring is'd:t:o,file_name'. the default is'd:t:o'.--debug-checkβ prints some debugging information when the program exits.--debug-infoβ prints debugging information plus memory and CPU usage statistics when the program exits.--default-auth=nameβ default authentication client-side plugin to use.--default-character-set=charset_nameβ usecharset_nameas the default character set.--defaults-extra-file=filenameβ setsfilenameas the file to read default options from after the global defaults files has been read. must be given as first option. β--defaults-file=filenameβ setsfilenameas the file to read default options from, overriding global defaults files. must be given as first option. β--defaults-group-suffix=suffixβ in addition to the groups named on the command line, reads groups that have the given suffix.--host=host_name,-h host_nameβ connects to the MariaDB server on the given host.--keys,-kβ shows table indexes.--no-defaultsβ does not read default options from any option file. this must be given as the first argument. β--password[=password],-p[password]β the password to use when connecting to the server. if you use the short option form (-p), you cannot have a space between the option and the password. if you omit the password value following the--passwordor-poption on the command line,mariadb-showprompts for one.
specifying a password on the command line should be considered insecure. you can use an option file to avoid giving the password on the command line. bestie, protect the password π
--pipe,-Wβ on Windows, connects to the server via a named pipe. this option applies only if the server supports named-pipe connections.--plugin-dir=dir_nameβ directory for client-side plugins.--port=port_num,-P port_numβ the TCP/IP port number to use for the connection. forces--protocol=tcpwhen specified on the command line without other connection properties.--protocol={TCP|SOCKET|PIPE|MEMORY}β the connection protocol to use for connecting to the server. it's useful when the other connection parameters would normally cause a protocol to be used other than the one you want.--print-defaultsβ prints the program argument list and exits. this must be given as the first argument. β--show-table-type,-tβ shows a column indicating the table type, as inSHOW FULL TABLES. the type isBASE TABLEorVIEW.--socket=path,-S pathβ for connections to localhost, the Unix socket file to use, or, on Windows, the name of the named pipe to use. forces--protocol=socketwhen specified on the command line without other connection properties; on Windows, forces--protocol=pipe.--sslβ enables SSL for the connection (automatically enabled with other flags). disable with--skip-ssl.--ssl-ca=nameβ CA file in PEM format (check OpenSSL docs, implies--ssl).--ssl-capath=nameβ CA directory (check OpenSSL docs, implies--ssl).--ssl-cert=nameβ X509 cert in PEM format (check OpenSSL docs, implies--ssl).--ssl-cipher=nameβ SSL cipher to use (check OpenSSL docs, implies--ssl).--ssl-key=nameβ X509 key in PEM format (check OpenSSL docs, implies--ssl).--ssl-crl=nameβ certificate revocation list (check OpenSSL docs, implies--ssl).--ssl-crlpath=nameβ certificate revocation list path (check OpenSSL docs, implies--ssl).--ssl-verify-server-certβ verifies the server's"Common Name"in its cert against the hostname used when connecting. this option is disabled by default.--status,-iβ displays extra information about each table.--user=user_name,-u user_nameβ the MariaDB user name to use when connecting to the server.--verbose,-vβ verbose mode. prints more information about what the program does. you can use this option multiple times to increase the amount of information. the more-vthe more yapping π£οΈ--version,-Vβ displays version information and exits.
π COPYRIGHT π
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc., 2010-2025 MariaDB Foundation
this documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.
this documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. see the GNU General Public License for more details.
you should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA or see http://www.gnu.org/licenses/.
π SEE ALSO π
for more information, please refer to the MariaDB Documentation, available online at https://mariadb.com/docs/
π AUTHOR π
MariaDB Foundation (http://www.mariadb.org/).
and that's the whole page bestie!! π this one's from MariaDB 11.8, dated 5 March 2025, and the manual page is MARIADB-SHOW(1). go forth and SHOW things, you absolute main character π¦β¨
π¦ where this page comes from
- alpine 3.24: mariadb-doc 11.8.9-r0 Β· GPL-2.0-only
- arch rolling: mariadb-clients 13.0.2-2 Β· GPL-2.0-only
- arch rolling: mariadb-lts-clients 12.3.3-2 Β· GPL-2.0-only
- centos-stream 10: mariadb11.8 3:11.8.8-1.el10 Β· ( GPL-2.0-only OR Apache-2.0 ) AND ( GPL-2.0-or-later OR Apache-2.0 ) AND BSD-2-Clause AND BSD-3-Clause AND CC-BY-4.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND ( GPL-3.0-or-later WITH Bison-exception-2.2 ) AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND OpenSSL AND MIT AND OFL-1.1 AND CC0-1.0 AND PHP-3.0 AND PHP-3.01 AND zlib AND dtoa AND FSFAP AND blessing AND Info-ZIP AND Boehm-GC
- centos-stream 9: mariadb 3:11.8.8-1.module_el9+1370+ec5ecc2e Β· ( GPL-2.0-only OR Apache-2.0 ) AND ( GPL-2.0-or-later OR Apache-2.0 ) AND BSD-2-Clause AND BSD-3-Clause AND CC-BY-4.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND ( GPL-3.0-or-later WITH Bison-exception-2.2 ) AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND OpenSSL AND MIT AND OFL-1.1 AND CC0-1.0 AND PHP-3.0 AND PHP-3.01 AND zlib AND dtoa AND FSFAP AND blessing AND Info-ZIP AND Boehm-GC
- debian trixie: mariadb-client-compat 1:11.8.6-0+deb13u1 Β· GPL-2.0-only
- fedora 43: mariadb11.8 3:11.8.8-1.fc43 Β· ( GPL-2.0-only OR Apache-2.0 ) AND ( GPL-2.0-or-later OR Apache-2.0 ) AND BSD-2-Clause AND BSD-3-Clause AND CC-BY-4.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND ( GPL-3.0-or-later WITH Bison-exception-2.2 ) AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND OpenSSL AND MIT AND OFL-1.1 AND CC0-1.0 AND PHP-3.0 AND PHP-3.01 AND zlib AND dtoa AND FSFAP AND blessing AND Info-ZIP AND Boehm-GC
- fedora 43: mariadb12.3 3:12.3.2-2.fc43 Β· ( GPL-2.0-only OR Apache-2.0 ) AND ( GPL-2.0-or-later OR Apache-2.0 ) AND BSD-2-Clause AND BSD-3-Clause AND CC-BY-4.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND ( GPL-3.0-or-later WITH Bison-exception-2.2 ) AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND OpenSSL AND MIT AND OFL-1.1 AND CC0-1.0 AND PHP-3.0 AND PHP-3.01 AND zlib AND dtoa AND FSFAP AND blessing AND Info-ZIP AND Boehm-GC
- fedora 44: mariadb 3:11.8.6-2.fc44 Β· ( GPL-2.0-only OR Apache-2.0 ) AND ( GPL-2.0-or-later OR Apache-2.0 ) AND BSD-2-Clause AND BSD-3-Clause AND CC-BY-4.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND ( GPL-3.0-or-later WITH Bison-exception-2.2 ) AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND OpenSSL AND MIT AND OFL-1.1 AND CC0-1.0 AND PHP-3.0 AND PHP-3.01 AND zlib AND dtoa AND FSFAP AND blessing AND Info-ZIP AND Boehm-GC
- fedora 44: mariadb 3:11.8.8-3.fc44 Β· ( GPL-2.0-only OR Apache-2.0 ) AND ( GPL-2.0-or-later OR Apache-2.0 ) AND BSD-2-Clause AND BSD-3-Clause AND CC-BY-4.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND ( GPL-3.0-or-later WITH Bison-exception-2.2 ) AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND OpenSSL AND MIT AND OFL-1.1 AND CC0-1.0 AND PHP-3.0 AND PHP-3.01 AND zlib AND dtoa AND FSFAP AND blessing AND Info-ZIP AND Boehm-GC
- fedora 44: mariadb12.3 3:12.3.2-2.fc44 Β· ( GPL-2.0-only OR Apache-2.0 ) AND ( GPL-2.0-or-later OR Apache-2.0 ) AND BSD-2-Clause AND BSD-3-Clause AND CC-BY-4.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND ( GPL-3.0-or-later WITH Bison-exception-2.2 ) AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND OpenSSL AND MIT AND OFL-1.1 AND CC0-1.0 AND PHP-3.0 AND PHP-3.01 AND zlib AND dtoa AND FSFAP AND blessing AND Info-ZIP AND Boehm-GC
- nixpkgs unstable: mariadb-server 11.8.8
- opensuse-leap 16.0: mariadb-client 11.8.8-160000.1.1 Β· SUSE-GPL-2.0-with-FLOSS-exception
- opensuse-leap 16.0: mariadb-client 11.8.8-160000.1.1 Β· SUSE-GPL-2.0-with-FLOSS-exception
- opensuse-leap 16.0: mariadb-client 11.8.8-160000.1.1 Β· SUSE-GPL-2.0-with-FLOSS-exception
- opensuse-leap 16.0: mariadb-client 11.8.8-160000.1.1 Β· SUSE-GPL-2.0-with-FLOSS-exception
- ubuntu resolute: mariadb-client-compat 1:11.8.6-5 Β· GPL-2.0-only
- ubuntu resolute: mariadb-client-compat 1:11.8.6-5ubuntu0.1 Β· GPL-2.0-only
- ubuntu stonking: mariadb-client-compat 1:11.8.9+ds-4ubuntu2 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms