D
D
darkoment2020-10-20 15:48:58
PostgreSQL
darkoment, 2020-10-20 15:48:58

No such file or directory in postgreSQL. How to connect a db?

5f8ee19475ed8392571399.pngI am taking a course on learning postgreSQL using this tutorial ( https://edu.postgrespro.ru/introbook_v6.pdf ), but when I got to connecting the demo database (Chapter V) when trying to connect it (\i demo-small-20170815.sql ) - displays a message that the file is not in the directory ( no such file or directory). What do I need to do to connect it? I'm using PostreSQL 12 (via SQL shell (pSQL)), OC: windows 10 home. I entered C:\Program Files\PostgreSQL\12\bin into PATH. Ran as administrator

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
vreitech, 2020-10-20
@fzfx

you need, firstly, that a file with that name is present in any of the folders in your file system, and, secondly, that the full path to the file is specified in the command you use.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question