Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nMFEr-0008UN-LV for pgsql-novice@arkaria.postgresql.org; Mon, 21 Feb 2022 20:24:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nMFEq-00076y-DQ for pgsql-novice@arkaria.postgresql.org; Mon, 21 Feb 2022 20:24:52 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nMFEq-00076l-3S for pgsql-novice@lists.postgresql.org; Mon, 21 Feb 2022 20:24:52 +0000 Received: from mail-qv1-xf2b.google.com ([2607:f8b0:4864:20::f2b]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nMFEn-0002W9-IR for pgsql-novice@postgresql.org; Mon, 21 Feb 2022 20:24:51 +0000 Received: by mail-qv1-xf2b.google.com with SMTP id f19so34906092qvb.6 for ; Mon, 21 Feb 2022 12:24:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=RVBgedwZvGDES5pG6kZfktLDfCYYdxmkSYh/4VIpk30=; b=WO/GCYSKlNZSAeNYY5vQQApUlLcio6OiVWqkpIL0NIKatsL82ii8qL1oCN/i37w++K JELOLHLA5V8oa2kLMlVfDmRpzJiITBqAqAp3vJgaTR3MGMCo8i4ubE7L75KfKImaoL6Q ZzURPVG3KjfCC7wljFBJAekQojwgPkyEw80xHJ0oO6PqiVqB17kopvs/CeT8nz7HqdKR koasEVGHAmbUGDklU6mo+aY7VkSw3xGwiMSjM5Wzr1hNLMU+c/9sn3vfVgs5hJgljV5L bjE1ERjssZ1W1T3V4mi6A8Nzn2LC1nnIRGBony0v3ejG+lxpwWixR9CZTxuQ4VlV/Guw Z9rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=RVBgedwZvGDES5pG6kZfktLDfCYYdxmkSYh/4VIpk30=; b=61dd6rFsEuy2c4iFFeP+82Zx3FJNO9+XnuW1ukl7S2sv99/u7Vz+L1icKtuSYMbtZX lRftRLyfbMvZD0r/BjExBGGpX9CYq+tD6ZcZkJTgAtD3Dwl/AR8ll2XblNulgQyNLisJ DxQ/vwUInmhuybdzBjuJG92qNP/F1PWwcGQoZbES4jFqT1kri+OEsR8O0Ml4x/wDmapG SjYCElVH5UTlOGFu0AE7mZWAyo4r4U75VhuI3JYIdeOBVrsr1ujGR8nm5eV0iiwpVh4E clPaI2YFYcdx+QD86JsBymQCBn4ES2PopAFf/H+f6hAJf0J59v+T0Tzoz6U4dVg3UWuO z1PA== X-Gm-Message-State: AOAM531XffQHsubIgIu8XKSd2nlnK2Gq9cH3dSvIUUKhR+FVIXQtyQYH +/NHl0DPM2Vl63c89YaNHlRpK+/OQTo= X-Google-Smtp-Source: ABdhPJzY8VyG3RQHtvsMygvXxE2pGrRXStUayYoRdquXJUEoUgaQSxIKlEmzKPWahkJFiSaBtq2/sA== X-Received: by 2002:a05:622a:1207:b0:2cc:ce3:b956 with SMTP id y7-20020a05622a120700b002cc0ce3b956mr19373496qtx.164.1645475087461; Mon, 21 Feb 2022 12:24:47 -0800 (PST) Received: from smtpclient.apple (pints.com. [206.248.184.17]) by smtp.gmail.com with ESMTPSA id b14sm5145679qtk.44.2022.02.21.12.24.46 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Feb 2022 12:24:47 -0800 (PST) From: BeeRich Lists Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.40.0.1.81\)) Subject: FATAL: no such database Message-Id: Date: Mon, 21 Feb 2022 15:24:46 -0500 To: Submit Postgresql Novice X-Mailer: Apple Mail (2.3693.40.0.1.81) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk For some reason I cannot create a database. I use Sequel, Postico, and = psql, and all three won=E2=80=99t create a database. The first two = write the syntax for me, and they too return errors. Here is an example = in psql: rich=3D# CREATE DATABASE alpha; CREATE DATABASE rich=3D# \c alpha; FATAL: no such database: alpha Previous connection kept rich=3D# \l List of databases Name | Owner | Encoding | Collate | Ctype | Access = privileges = --------------+-------+----------+-------------+-------------+------------= ------- alpha | rich | UTF8 | C | C | postgres | rich | UTF8 | C | C | rich | rich | UTF8 | C | C | template0 | rich | UTF8 | C | C | =3Dc/rich = + | | | | | = rich=3DCTc/rich template1 | rich | UTF8 | C | C | =3Dc/rich = + | | | | | = rich=3DCTc/rich (5 rows) rich=3D# DROP DATABASE alpha; DROP DATABASE rich=3D# \l List of databases Name | Owner | Encoding | Collate | Ctype | Access = privileges = --------------+-------+----------+-------------+-------------+------------= ------- postgres | rich | UTF8 | C | C | rich | rich | UTF8 | C | C | template0 | rich | UTF8 | C | C | =3Dc/rich = + | | | | | = rich=3DCTc/rich template1 | rich | UTF8 | C | C | =3Dc/rich = + | | | | | = rich=3DCTc/rich (4 rows) rich=3D# CREATE DATABASE alpha; CREATE DATABASE rich=3D# \l List of databases Name | Owner | Encoding | Collate | Ctype | Access = privileges = --------------+-------+----------+-------------+-------------+------------= ------- alpha | rich | UTF8 | C | C | postgres | rich | UTF8 | C | C | rich | rich | UTF8 | C | C | template0 | rich | UTF8 | C | C | =3Dc/rich = + | | | | | = rich=3DCTc/rich template1 | rich | UTF8 | C | C | =3Dc/rich = + | | | | | = rich=3DCTc/rich (5 rows) rich=3D# \c alpha; FATAL: no such database: alpha Previous connection kept rich=3D# I have reinstalled PostgreSQL 12 both through homebrew as well as using = the Postgres.app on MacOS. Both have the same issue. =20 Anybody have any insight into what I should try? Thanks for your time. =20= Cheers, Bee