Hackerss.com

loading...

Comando para mostrar todas las Bases de datos de MariaDB o MYSQL

maxxmontero profile image MaxX Montero Updated on ・1 min read

Simplemente debes usar el siguiente comando y te mostrara todas tus Bases de datos disponibles:

Comando:

SHOW DATABASES;
Enter fullscreen mode Exit fullscreen mode

Ouput:

MariaDB [my_database]> SHOW DATABASES;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| hackers            |
| my_database        |
| mysql              |
| performance_schema |
| test               |
+--------------------+
6 rows in set (0.002 sec)
Enter fullscreen mode Exit fullscreen mode

Discussion (0)

Forem Open with the Forem app