mysql -u <name> -p # Pedirá pass
show databases; # Lista dbs
use <database>; # Conecta a db
show tables; # Lista tablas
describe <table_name>; # Dump tabla
PostgreSQL - 5432/5433
psql -U <username> -W
\l # Lista dbs
\c <db-name> # conecta a db
\dt # Lista tablas de la db
select * from <table>; # Dump tabla
MongoDB - 27017/27018
mongo <HOST>:<PORT>
show dbs # Lista dbs
use <db> # Conecta a db
show collections # Lista tablas
db.<collection>.find() # Dump tabla
Redis - 6379
redis-cli -h <IP> -p <port>
INFO keyspace # show all, keyspace = dbs
SELECT <db-number>
GET <key>
KEYS *
dump <key-name>