Difference between revisions of "Connect to a database"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 3: Line 3:
 
* [[MariaDB]]: <code>[[mysql]]</code>
 
* [[MariaDB]]: <code>[[mysql]]</code>
 
* [[PostgreSQL]]: <code>[[sudo -u postgres psql]]</code>
 
* [[PostgreSQL]]: <code>[[sudo -u postgres psql]]</code>
 +
\c databasename
 
* [[MongoDB]]: <code>[[mongo]]</code>, <code>[[use]] DB_NAME</code>
 
* [[MongoDB]]: <code>[[mongo]]</code>, <code>[[use]] DB_NAME</code>
  

Revision as of 08:54, 9 September 2021

Advertising: