Grimoire-
Command
.es

GNU+Linux command memo

List database tables

database

Lister les tables d’une base de donnée

MySQL / MariaDB
$ mysql -u root -p
mysql> use <database_name>;
mysql> show tables;
PostgreSQL
$ sudo su postgres
$ psql
\list (1)
\connect <pg_database> (2)
\dtvs (3)
SELECT table_name FROM pg_database; (3)
1 list all databases
2 connect to a database
3 equivalent, list tables in a database

 

SQLite3
$ sqlite3 <file>.sqlite
SELECT * FROM sqlite_master WHERE type='table';

Selection

  • Check SSD remaining lifetime
  • Save data from lost partition
  • Cipher external Android SDcard
  • Recommanded Firefox addons
  • doc_crawler.py : Extract site PDFs
  • 20 mémos "ligne de commande"
  • [Mémo 8] compression de fichiers
  • [Mémo 10] explorer le matériel
  • Tectonique de la pâte thermique
  • Doc. AsciiDoctor en français
  Articles | Command.es | Mémos

Themes  

  • Artix
  • Debian
  • Fairphone
  • Firefox
  • Git
  • JavaScript
  • KVM
  • Memo
  • Nim
  • Python
  • SSH
  • Tor
  • Xorg
  • adminsys
  • android
  • asciidoc
  • benchmark
  • bluetooth
  • code
  • comfort
  • compression
  • database
  • date
  • game
  • hardware
  • install
  • metadata
  • mount
  • music
  • mutt
  • network
  • optimize
  • regex
  • repair
  • security
  • shell
  • storage
  • vim

Sponsor

Meta-Press.es: search-engine

Liberapay   Patreon

Support via BTC 12z7pK5YFcmG7PGJ985dFtnRzwtxDVDmwc

A propos  Flux