Difference between revisions of "Connect to a database"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
* [[MariaDB]]: <code>[[mysql]]</code> | * [[MariaDB]]: <code>[[mysql]]</code> | ||
− | * [[PostgreSQL]]: <code>[[psql]]</code> | + | * [[PostgreSQL]]: <code>[[sudo -u postgres psql]]</code> |
* [[MongoDB]]: <code>[[mongo]]</code>, <code>[[use]] DB_NAME</code> | * [[MongoDB]]: <code>[[mongo]]</code>, <code>[[use]] DB_NAME</code> | ||
Revision as of 08:05, 7 February 2021
- MariaDB:
mysql
- PostgreSQL:
sudo -u postgres psql
- MongoDB:
mongo
,use DB_NAME
See also
- 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: