All public logs
From Cheatsheet
Jump to navigationJump to search
Combined display of all available logs of Cheatsheet. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).
- 21:49, 28 July 2023 Patrick talk contribs created page Databases (Created page with "Cheatsheets == MYSQL+MARIADB == <syntaxhighlight lang="bash"> # Log into the MySQL CLI mysql -u root -p # Show all tables in the database SHOW TABLES; # Exit the MySQL CLI exit </syntaxhighlight> == Postgres == <syntaxhighlight lang="bash"> # Log into the Postgres CLI psql # List all databases \l # Connect to a database -d mydatabase -U databaseuser –W # Switch to the new database connection \c mydatabase databaseuser # List all tables \...")