skip to Main Content

SQLSTATE[HY000] [1045] Access denied for user 'postgres'@'localhost' (using password: NO): unable to connect database – Phpmyadmin

I have installed lamp,phpmyadmin & postgresql in my ubuntu 20.04 version. below are the links: 1.https://www.linuxbabe.com/ubuntu/install-lamp-stack-ubuntu-20-04-server-desktop 2.https://www.linuxbabe.com/ubuntu/install-phpmyadmin-apache-lamp-ubuntu-20-04 3.https://tecadmin.net/how-to-install-postgresql-in-ubuntu-20-04 After,i did below operations 1.uncommented extension pgsql and pdo_pgsql in php.ini file 2.given trust method in pg_hba.conf file 3.GRANT ALL PRIVILEGES ON…

VIEW QUESTION

Docker doesn't create database

I have Dockerfile: FROM postgres ENV POSTGRES_USER root ENV POSTGRES_PASSWORD root ENV POSTGRES_DB world COPY world.sql /docker-entrypoint-initdb.d/ I run docker build -t postgres, then I create container but it doesn't create database in PG. Does anyone have any idea? world.sql…

VIEW QUESTION
Back To Top
Search