Sorry if the question is stupid but I'm learning SQL and I've searched for days without a solution. Basically using PostgresSQL from CMD works perfectly, I can create the database, can connect, create tables, insert modify, etc. The problem arises when recently I've tried to manipulate my database from another language (tried with c# and python) but when I try the connection I get the error:database 'Library' does not exist
.
I know that's not the case because of course it's in my computer, but also if i change the correct password to an incorrect one in my connection line such as this:
NpgsqlConnection conn = new NpgsqlConnection("Server = localhost; " +"User Id= admin; Password = wrongpass; Database =Biblioteca");
I instead get the error:
password authentication failed for user "admin"
Which tells me that the program can indeed tell the database exists, it just choses to ignore for some reason, am I doing something wrog? Need every help i can get
Note: I'm working on Windows.