Difference between revisions of "Connect to a database"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
Line 10: | Line 10: | ||
== See also == | == See also == | ||
+ | * {{psql}} | ||
* {{DBs}} | * {{DBs}} | ||
[[Category: Databases]] | [[Category: Databases]] |
Revision as of 09:39, 6 August 2021
- MariaDB:
mysql
- PostgreSQL:
sudo -u postgres psql
- MongoDB:
mongo
,use DB_NAME
Related terms
- Connect to a database
- Show databases
- Create database
- Delete database
- Create user
- List users
- List databases
- List tables:
show tables
- GRANT
See also
- PostgreSQL:
psql
,.psqlrc, .pgpass
,$HOME/.pg service.conf
,-U, -W, -d
, meta-commands:\du, \dg, \ddp, \dp, \list, \dn, \dt, \c, \l, \di, \q
,show users
,show
,su - postgres
,psql -c, \?, \connect, \conninfo
,--version, --help
, PL/pgSQL - Databases: Database management, SQL, NoSQL, Wide column, PostgreSQL, MariaDB, MySQL, Derby DB, MongoDB, Cassandra, SQLite, HSQL2, H2, RocksDB, Microsoft SQL Server, DB2, Oracle Database, Memcached, Berkeley DB, Collation, SingleStore, Amazon Aurora, Graph database, Amazon DynamoDB, PrestoDB, Cache hit ratio, ACID, WAL, ARIES, DBMS, OLTP, OLAP, Database Schema, CockroachDB, Tables, Views, Apache Druid, RDMS
Advertising: