now apache is working will and i use https to edit my application but
now am trying to use postgresql  when  i installed it  and used :

sudo apt-get -y install postgresql
sudo apt-get -y install python-psycopg2

and then :

sudo -u postgres createuser -PE -s myuser # i added my role name and
password

but when i get to create a database file , like this  :
postgresql> createdb -O myself -E UTF8 mydb

it keeps giving me :

createdb: could not connect to database postgres: FATAL:  Ident
authentication failed for user "hassan"

Reply via email to